Skip to content

Commit e7b2b93

Browse files
chore: re-enable DCHECK in node_debugger (electron#15649)
1 parent 8232296 commit e7b2b93

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

atom/browser/node_debugger.cc

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,8 @@ void NodeDebugger::Start() {
5858
}
5959

6060
const char* path = "";
61-
inspector->Start(path, options);
62-
// FIXME
63-
// DCHECK(env_->inspector_agent()->IsListening());
61+
if (inspector->Start(path, options))
62+
DCHECK(env_->inspector_agent()->IsListening());
6463
}
6564

6665
} // namespace atom

0 commit comments

Comments
 (0)