VS code's launch feature makes it easier to debug issues. I ended up having to use it to track down an issue with how jsr.io handles the build script. Note, if using the default script directly from jsr, you won't be able to add a breakpoint to step through the code, you will need to make a build.ts file so you can add a breakpoint at the start of the build.
It might be related to the --inspect-wait flag. Check if there is a better way to run the debugger.