Skip to content

Commit 633b385

Browse files
src: read break_node_first_line from the inspect options
There are cases where the debug_options() on the env are different to the options that were passed into inspector::Agent.
1 parent 89e4b36 commit 633b385

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/node.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ int Environment::InitializeInspector(
254254

255255
profiler::StartProfilers(this);
256256

257-
if (options_->debug_options().break_node_first_line) {
257+
if (inspector_agent_->options().break_node_first_line) {
258258
inspector_agent_->PauseOnNextJavascriptStatement("Break at bootstrap");
259259
}
260260

0 commit comments

Comments
 (0)