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:
Shelley Vohr 2020-07-14 08:56:57 -07:00 committed by GitHub
parent e002f7315d
commit 990a6f8b6c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 19 deletions

View file

@ -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");
}