mirror of
https://github.com/electron/electron.git
synced 2026-05-02 03:00:22 -04:00
fix: Node.js cpu and heap profiling (#24528)
* fix: Node.js cpu and heap profiling * chore: emable more now-working Node.js specs
This commit is contained in:
@@ -36,6 +36,9 @@ void NodeDebugger::Start() {
|
||||
true /* is_main */))
|
||||
DCHECK(inspector->IsListening());
|
||||
|
||||
v8::HandleScope handle_scope(env_->isolate());
|
||||
node::profiler::StartProfilers(env_);
|
||||
|
||||
if (inspector->options().break_node_first_line) {
|
||||
inspector->PauseOnNextJavascriptStatement("Break at bootstrap");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user