DEV Community

Cover image for Debugging Deno with Webstorm (2020)
Cedric Vangout
Cedric Vangout

Posted on • Updated on

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:

Top comments (0)