Anyone uses Webstorm debug with SST (Node and Typescript) successfully? The best I have is to create npm debug configurations, which do stop on breakpoints but only on transpiled files, not on the original source.
r
Ross Coundon
11/09/2021, 11:11 AM
@Ben Gooding - do you manage to step through your TypeScript and not the compiled code?
b
Ben Gooding
11/09/2021, 11:36 AM
Yes... just had to check... I can put a break point in TypeScript and step through the uncompiled code while running a debug configuration. Definitely possible! I haven't done anything special to make it work.
y
Yuval Ron
11/09/2021, 12:32 PM
@Ben Gooding thanks.
n
Nick Laffey
11/09/2021, 3:26 PM
I also debug via IntelliJ, I just click on the debug button for my sst start script in package.json. I’m not doing anything special.