Skip to content

Latest commit

 

History

History
48 lines (30 loc) · 925 Bytes

DEBUGGING.md

File metadata and controls

48 lines (30 loc) · 925 Bytes

Debugging

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:

  1. CMD+,
  2. typeauto attach
  3. setauto-attach toon

Now just run your scripts

npm run local-proxy-debug

npm Debugging

Launch your app and the debugger

  1. Go to the debugger panel
  2. RunLaunch via NPM

Docker Debugging

Attach the debugger to a running docker container

  1. Go to the debugger panel
  2. Docker: Attach to Node

Relative File Debugging

Debug whichever file you have open and in focus.

  1. openmeta/create-vikings-cosmos-sdk.js
  2. Go to the debugger panel
  3. Launch Relative File

Debugging Angular in VS Code

  1. Run the app, without debugging node npm run local-proxy
  2. Go to the debugger panel
  3. Launch Angular in Chrome