Has anyone got a guide on how to use SST start wit...
# help
k
Has anyone got a guide on how to use SST start with WebStorm to debug lambdas?
t
We haven't documented this yet but I know some people in our community use webstorm
@gio does iirc and I think someone on @Ross Coundon team
k
If I get it working, I'm happy to help document it.
s
g
I had some memory issues using webstorm+sst. I didn’t try on latest version on SST. I moved to VSCode
r
@Ben Gooding uses Webstorm, can maybe give some pointers
b
I also had memory issues using Webstorm+SST which I solved by: 1. Disabling all unused Webstorm plugins, chances are you'll only use a small fraction of the installed plugins, this can free up a ton of RAM. (In VSCode it's all about installing plugins, in Webstorm it's all about removing them!) 2. Tell Webstorm which folders don't include source code. In the project window, right-click on ".build" and any other non-source code folders and mark as "Excluded" Then, actually debugging the lambda in Webstorm works without any special set up. (In a nutshell: add the npm sst start script to the "Run/Debug configurations" dialogue, add a breakpoint in the lambda, then hit the debug button) https://www.jetbrains.com/help/webstorm/running-and-debugging-node-js.html
j
@thdxr Let’s open an issue, add this to it so we can document it when we get a chance?
t
Will do
k
Debugging with WebStorm works. Thanks all 👏 🎉
j
Awesome!