The debugger will automatically kick in and attach.
Set theauto-attach
in the settings, then run node server with the inspector protocol, and run npm run dev-proxy
CMD+,
- type
auto attach
- set
auto-attach
toon
Now just run your scripts and the debugger will attach to the node process
npm run dev-proxy
Launch your Node.js app directly via the debugger
- Go to the debugger panel
CMD+SHFT+D
- Choose
Launch server.js
- Press the green arrow button or
F5
Attach the debugger to a running docker container
- Go to the debugger panel
CMD+SHFT+D
- Choose
Docker: Attach to Node
- Press the green arrow button or
F5
-
Run the Vue app and the Node app:
npm run dev-proxy
-
Go to the debugger panel
CMD+SHFT+D
-
Choose
Vue: Chrome
-
Press the green arrow button or
F5