Debugging Deno with Webstorm (2020)

cvng

Cedric Vangout

Posted on May 20, 2020

Debugging Deno with Webstorm (2020)

Since Deno supports the V8 Inspector Protocol, it is a fairly easy task
to launch a debugging session in Webstorm.

1 - First, create a Debug configuration (Attach to Node.js/Chrome)

Alt Text

2 - Now, run your local Deno script (here server.ts)

$ deno run --inspect --allow-net server.ts

3 - Add a breakpoint and start debugging

Alt Text

Enjoy your debugging session!

For more information: https://deno.land/manual/tools/debugger#chrome-devtools

💖 💪 🙅 🚩
cvng
Cedric Vangout

Posted on May 20, 2020

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related