How to use chrome devtools / inspector with Deno?
Hello all!
I'd like to profile my game server written in Deno to identify the hot spots.
I see that https://github.com/denoland/deno/pull/4484 was closed, but having trouble pulling up info on how to use it.
I've tried running my server with the --inspect flag, opened the chrome's Nodejs inspector, added localhost:8000, but it doesn't connect to/recognize the server process.
Any advice?
Thanks in advance x 1000
6 Replies
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
oh I see. I was putting it after the --watch flag, which currently causes it to ignore the --inspect flag. If I put it before then it lets me know that these flags cannot be combined. It works as expected if I take out the --watch flag.
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
Yep, you are correct. Thank you.
I got it to work once... Mostly been getting this error
to clarify, I get that whenever (well 90% of the time) I try to use the record button in the performance panel