mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
fix: correctly support the --inspect-brk-node flag (#23903)
This commit is contained in:
@@ -34,7 +34,11 @@ void NodeDebugger::Start() {
|
||||
std::make_shared<node::ExclusiveAccess<node::HostPort>>(
|
||||
debug_options.host_port),
|
||||
true /* is_main */))
|
||||
DCHECK(env_->inspector_agent()->IsListening());
|
||||
DCHECK(inspector->IsListening());
|
||||
|
||||
if (inspector->options().break_node_first_line) {
|
||||
inspector->PauseOnNextJavascriptStatement("Break at bootstrap");
|
||||
}
|
||||
}
|
||||
|
||||
void NodeDebugger::Stop() {
|
||||
|
||||
Reference in New Issue
Block a user