DEV Community

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

Posted on • Edited on

2 2

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

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more