Auto attach

Most web developers have become quite comfortable with their browser development tools. However, web development is quite possibly the only platform where code is written in one place, and debugged in another. It is far easier to debug code in the same place where you write it.

The Chrome Debugger extension for VS Code makes this possible. I have included it in the VS Code Can Do That extension pack.

Add a launch.config to the "3-debug-browser" apps project. Add a breakpoint to the updateColor method in the src/app.js file.

Run the project and then attach the VS Code debugger.

Last updated