D
Deno

help

How to use chrome devtools / inspector with Deno?

PHPatrick (he/him)5/25/2023
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
UUUnknown User5/25/2023
2 Messages Not Public
Sign In & Join Server To View
PHPatrick (he/him)5/25/2023
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.
UUUnknown User5/25/2023
Message Not Public
Sign In & Join Server To View
PHPatrick (he/him)5/26/2023
Yep, you are correct. Thank you.
PHPatrick (he/him)5/27/2023
I got it to work once... Mostly been getting this error
PHPatrick (he/him)5/27/2023
to clarify, I get that whenever (well 90% of the time) I try to use the record button in the performance panel

Looking for more? Join the community!

Recommended Posts
Clear local KV storeHow do I delete/clear the local database?Deno.Command not working for applicationHello. Im trying to start an application using Deno.Command, but it for some reason doesnt work. TheUint8Array or Float32ArrayIs there any significant difference between using a Float32Array and using a Uint8Array from the samSending proper Content-Type depending on file sentHello. Im new to Deno and TypeScript and i wanted to convert one of my older projects (NodeJs and JaReclaim an already registered module?Is it possible to reclaim an already registered third party module? For example if the module that iDeno.readDir on current script even if used like an http package.Hello !! I would like to do Deno.readDir and readFiles on files relative to the script that execute Top level awaits for `import()`How come to top-level awaits for `import()` not work? I found an issue on GitHub https://github.com/How to auto import on save?This doesn't work: { "deno.enable": true, "deno.lint": true, "deno.unstable": true, "editorRemove sink from streamIs it at all possible to "undo" adding a sink on a stream? I am trying to make it so that once the wHTTPS w/ client certificate – works in Node.js, not in DenoI am making an HTTPS call with a client certificate. It works great in Node.js, but when I try to doUsing encrypted private keys with DenoSo it seems to me that Deno doesn't provide any helpers for making HTTPS requests with encrypted priError when using readline.question()I get this error with the following code ```ts import process from 'node:process' import readline fjsx in denoHi, I have simple code that takes use of jsx. Based on deno docs, the jsx support should be ootb. IsExpress pt2 tutorial links to itselfAt the very start of the tutorial, it mentions that part 1 got up and running, but the link points tonboard is infiniteSeems like the onboarding process is broken and won't stop repeating itself You need to be a new memDeno mobile app?Anyone has made a mobile app using deno? I was planning to use Fresh and https://capacitorjs.com/ t