Debugging
January 19, 2019 ยท View on GitHub
Auto - Attach Debugging
The debugger will automatically kick in and attach.
Set theauto-attach in the settings, then run node server with the inpsector protocol, and run ng serve
1 - time setup for auto - attach:
CMD+,- type
auto attach - set
auto-attachtoon
Now just run your scripts
npm run local-proxy-debug
npm Debugging
Launch your app and the debugger
- Go to the debugger panel
- Run
Launch via NPM
Docker Debugging
Attach the debugger to a running docker container
- Go to the debugger panel
Docker: Attach to Node
Relative File Debugging
Debug whichever file you have open and in focus.
- open
meta/create-vikings-cosmos-sdk.js - Go to the debugger panel
Launch Relative File
Debugging Angular in VS Code
- Run the app, without debugging node
npm run local-proxy - Go to the debugger panel
Launch Angular in Chrome