Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Debugging not working as described in the documentation #766

Open
ascheucher-shopify-partner opened this issue Aug 8, 2024 · 2 comments

Comments

@ascheucher-shopify-partner

Trying to figure out an issue I have the SST Guide, chapter Create a settings page sub chapter Connecting the billing form I tried to follow the *How to debug lambda functions in VSC, but there are some issues:

  • I had to change in the launch.json to "runtimeArgs": [dev"]
  • I didn't find an equivalent to --increase-timeout
  • I can't set break points. VSC gives me this warning: Unbound breakpoint - Some of your breakpoints could not be set. If you're having an issue, you can troubleshoot your launch configuration
  • Warning: You are using a global installation of SST but you also have a local installation specified in your package.json. The local installation will be used but you should typically run it through your package manager.

I assume this is due to the changes from v2 to v3, but how can I debug now?

@jayair
Copy link
Contributor

jayair commented Aug 9, 2024

Yeah that VSCode chapter is out of date, I'm going to archive it soon.

As for breakpoint support, we are working on it: sst/sst#4904

@ascheucher-shopify-partner
Copy link
Author

Thanks for the pointer!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants