Merge pull request #11482 from electron/fix-inspect-brk

Fix inspect-brk in 1.8.x
This commit is contained in:
Charles Kerr
2017-12-20 10:46:39 -06:00
committed by GitHub

View File

@@ -42,7 +42,7 @@ void NodeDebugger::Start() {
// the debugger on the first line
if (options.wait_for_connect()) {
mate::Dictionary process(env_->isolate(), env_->process_object());
process.Set("_debugWaitConnect", true);
process.Set("_breakFirstLine", true);
}
inspector->Start(platform_.get(), nullptr, options);