- Install Debugger for chrome extension on your VS Code.
- Install and activate Live Server extension on your VS Code.
- Press F5 and select Chrome:
- Check your Live Server port* and change the generated
launch.json
- Set your break points, run Live Server and press F5:
- To check your Live Server port:
- Install Live Server & reload VS Code.
- Go to Preferences > Extensions > Live Server Config
- Scroll down to find Settings: Port and click "Edit in settings.json". Then you'll see the port number.