Just like Node.js.
Running and debugging Node.js NodeJs Debugging
Just like Node.js.
Running and debugging Node.js NodeJs Debugging
WebStorm supports the V8 Inspector Protocol, so you're good:
Click "Apply" and "Debug" to start the debugger
Create your breakpoints
With the debugger running, run your script with the --inspect-brk option:
deno run --inspect-brk -A app.ts
Now it will work as intended with the IDE. You can use the Debug view to step in, over, etc.
We should expect a plugin some time in the future.
From deno debugger:
Deno supports the V8 Inspector Protocol.
It's possible to debug Deno programs using Chrome Devtools or other clients that support the protocol (eg. VSCode).