Debugging Server-Side Typescript

Hello,
I’m trying to get server-side debugging working on my app:

  • meteor v1.11.1 + typescript
  • vscode v1.51.1

I am brand new to meteor coming from other frameworks so I could really use being able to step through the code.

I have spent hours researching and everything I’m finding is years old and / or never addresses typescript.
I hope I’m missing something obvious!
Also - not married to vscode; if webstorm or another IDE does a better job, that’s a valid answer in my book.

1 Like

Resolved:

  • install https://github.com/zodern/minify-js-sourcemaps to generate source maps
  • could not get vscode to pick them up but it worked out of the box in Webstorm
  • create a run configuration to start meteor; it will add the --inspect-brk on its own when you “debug” instead of “run”.
    Voila!