loading...
Cover image for Debugging Deno with Webstorm (2020)

Debugging Deno with Webstorm (2020)

cvng profile image Cedric Vangout Updated on ・1 min read

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

Discussion

pic
Editor guide