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

[HELP] I need instruction how to configure debugging with vscode #43

Open
hoang-innomize opened this issue Jul 31, 2020 · 5 comments
Open
Assignees
Labels
enhancement New feature or request

Comments

@hoang-innomize
Copy link
Contributor

Does anyone have any configuration I can use to debug Serverless using this plugin?

@hoang-innomize hoang-innomize added the enhancement New feature or request label Jul 31, 2020
@wickstargazer
Copy link
Member

Hi you want to debug plugin itself or you code calling the plugin? and which command do you want to debug specifically?

@hoang-innomize
Copy link
Contributor Author

@wickstargazer Right now we want to debug serve command so that we can debug when running serverless locally. I think it might relate to #44

@poul-kg
Copy link

poul-kg commented Nov 19, 2020

Also have no idea how to debug nx serve my-serverless-app. Would be great to get any example of how to debug a running serverless app.

@jahorwitz
Copy link

@wickstargazer @hoang-innomizetech @poul-kg I'm also trying to configure vscode to debug a project using this plugin, but I'm not convinced it's entirely possible to do in its present state. I'm able to run the project through VS Code just fine, however it is unable to set breakpoints in the code because there are no sourceMaps. It appears the sourceMap option doesn't actually do anything as it's currently commented out.

I tried uncommenting this line locally and it still doesn't generate the sourceMaps correctly. Without that, I'm not sure how anybody is able to debug using this plugin in VS Code.

@brunojn
Copy link

brunojn commented Mar 25, 2024

Has anybody succeeded in getting the vscode debugger to work? When I run my project locally I get the message that the debugger is attached, but I get unbound breakpoints, probably for the same reason @jahorwitz stated.

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

No branches or pull requests

5 participants