primozeP
Denoβ€’4y agoβ€’
11 replies
primoze

deno_runtime inspector service not starting...

Hi!
I'm embedding deno_runtime, and I can't get the inspector working. I set BootstrapOptions.inspect to true, and WorkerOptions maybe_inspector_server and should_break_on_first_statement. The server is set to listen on 127.0.0.1:9229.
server
in inspector_server.rs is called, and prints
Debugger listening on ws://127.0.0.1:9229/ws/5b5725e4-ac19-4f4d-ba1b-f6d44ce9430f
Visit chrome://inspect to connect to the debugger.
Deno is waiting for debugger to connect.

but make_svc function is never called (I added some printlins), and netstat shows the port is not in use, and chrome doesn't find it either.

Permissions are allow all, cert errors are ignored, I can post the entire setup if required...

Everything is created and running inside run_local, and the versions are 0.160.0 and 0.86.0 for core and runtime respectively (but a few older versions also didn't work).

What am I missing? Are there any other options relevant to starting the inspector service?
Was this page helpful?