sst: [ION-1430] Adding breakpoints in Live
Currently the launch config points to node_modules, need to try it with the new CLI.
https://discord.com/channels/983865673656705025/1177071497974648952/1221590450314416180
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Reactions: 6
- Comments: 21 (7 by maintainers)
Commits related to this issue
- docs: vs code breakpoints closes #73 — committed to degu-io/ion by jayair 2 years ago
Workaround in the meantime:
Install https://marketplace.visualstudio.com/items?itemName=augustocdias.tasks-shell-input
Edit
.vscode/launch.jsonRun
sst devInvoke what you’re trying to debug (e.g. Lambda function) if it needs to get warm
Run the
Debug SST LiveconfigurationSet breakpoints
Lambda invocation should now trigger the breakpoint
The lack of debugger support is quickly becoming a show stopper. Separate node processes for each invocation also seems that it could complicate matters. Hope you guys have something planned here.
Yeah apparently @thdxr almost has it working.
https://sst.dev/docs/live#breakpoints
@jayair @thdxr the config mentioned on the sst.ion docs doestn’t seems like working. Is there any update on this issue?
Yeah it’s on the roadmap. We’ll get to this in the coming weeks.