-
-
Notifications
You must be signed in to change notification settings - Fork 167
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
How to debug this project? #175
Comments
I'm struggling with the same thing How do you setup debugging @jaredpalmer |
@Altiano I've opted to use babel-node to debug. It's working with Backpack. Install the following plugins:
launch.json
.babelrc
Hope this helps. |
2 simple ways in //1
{
"name": "Launch via NPM",
"request": "launch",
"runtimeArgs": [
"dev",
],
"runtimeExecutable": "yarn",
"skipFiles": [
"<node_internals>/**"
],
"type": "pwa-node"
},
//2
{
"command": "npm dev",
"name": "Run npm dev",
"request": "launch",
"type": "node-terminal"
} reference https://code.visualstudio.com/docs/nodejs/nodejs-debugging |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
How do you perform debugging with
backpack
?I'm using VS Code.
For Node.js program, by default the config would be like:
How to adjust this?
And maybe should also put this in the docs?
The text was updated successfully, but these errors were encountered: