fix: pass the correct HostPort into the node inspector (#17380)
Fixes #17348
This commit is contained in:
parent
db29978fe0
commit
5025c991ee
2 changed files with 30 additions and 1 deletions
|
@ -59,7 +59,8 @@ void NodeDebugger::Start() {
|
|||
}
|
||||
|
||||
const char* path = "";
|
||||
if (inspector->Start(path, options, env_->inspector_host_port(),
|
||||
if (inspector->Start(path, options,
|
||||
std::make_shared<node::HostPort>(options.host_port),
|
||||
true /* is_main */))
|
||||
DCHECK(env_->inspector_agent()->IsListening());
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue