Browse Source

chore: re-enable DCHECK in node_debugger (#15649)

Samuel Attard 6 years ago
parent
commit
e7b2b93cee
1 changed files with 2 additions and 3 deletions
  1. 2 3
      atom/browser/node_debugger.cc

+ 2 - 3
atom/browser/node_debugger.cc

@@ -58,9 +58,8 @@ void NodeDebugger::Start() {
   }
 
   const char* path = "";
-  inspector->Start(path, options);
-  // FIXME
-  // DCHECK(env_->inspector_agent()->IsListening());
+  if (inspector->Start(path, options))
+    DCHECK(env_->inspector_agent()->IsListening());
 }
 
 }  // namespace atom