is it possible to add breakpoints in vscode also f...
# help
s
is it possible to add breakpoints in vscode also for python lambda? any documentation on this?
f
Hey @Simone Gaiarin, I haven’t tired it but my gut feeling is that it should work. Does the
launch.json
in this example not work for Python functions? https://serverless-stack.com/examples/how-to-debug-lambda-functions-with-visual-studio-code.html
s
actually I haven't tried because I've seen references to node and I assumed it was for js, but now that I read better the launch.json calls sst which then will call python. I'll give it a try.
so I gave it a try, and it says unbound breakpoint
f
Oh I see. hmm.. have you setup
launch.json
scripts for other (non SST) Python projects before?
s
in other project yes, and the breakpoints usually works
f
I see. Do you have a sample by any chance? I can take a look at how they are setting up the
launch.json