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

Debuggable servers in VSCode #4

Open
mttschltz opened this issue Jan 6, 2022 · 0 comments
Open

Debuggable servers in VSCode #4

mttschltz opened this issue Jan 6, 2022 · 0 comments
Labels
development experience Frictions or improvements for developing on this project

Comments

@mttschltz
Copy link
Owner

Goal

Be able to debug Store server in VSCode.

Bonus

  • Also be able to do the same for Content server

Problem

I'm not sure how to debug the Store server with breakpoints. This makes troubleshooting issues difficult.

I've tried using VSCode's Node.js... debug option and selecting Run Script: develop:store, but debug breakpoints don't work.

When getting an error, the stacktrace only shows lines from app/store/dist.server.js, so I'm guessing the mapping from build to source files isn't working, at a minimum

@mttschltz mttschltz added the development experience Frictions or improvements for developing on this project label Jan 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
development experience Frictions or improvements for developing on this project
Projects
None yet
Development

No branches or pull requests

1 participant