From e7b2b93ceeeb78dbd2a3193b7842d429c8bce20e Mon Sep 17 00:00:00 2001 From: Samuel Attard Date: Fri, 9 Nov 2018 14:44:31 +1100 Subject: [PATCH] chore: re-enable DCHECK in node_debugger (#15649) --- atom/browser/node_debugger.cc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/atom/browser/node_debugger.cc b/atom/browser/node_debugger.cc index 48c8e7103623..b71e70fe0ff9 100644 --- a/atom/browser/node_debugger.cc +++ b/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