- Set a breakpoint somewhere
- setup auto attach: always so any node command will allow debugging automatically
- Open a Javascript Terminal in vscode
- Run the yarn watch command (or whatever script you are running)
- Open the browser links FROM INSIDE the javascript terminal, or: use the Debug: Open Link command, and enter the destination url there.
- Enjoy the debugging
Created
October 24, 2022 21:23
-
-
Save dsasser/90420cbaccaf9b9ec559434ebb75207a to your computer and use it in GitHub Desktop.
How to setup node debugging in vscode for vets-website
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment