How to debug an Angular CLI app with the custom webpack builder?
问题 I built a repo to expose my issue: https://github.com/franklin626/custom_webpack_undebuggable This Angular CLI app has a custom webpack setup ( webpack.config.js ). It also has a .vscode/launch.json configuration to debug from VS Code upon either ng test (unit tests) or ng serve . I can place breakpoints for my unit tests, but not when running ng serve : In my debug tab in VS Code, I run my "launch Chrome" routine followed by "attach localhost". I place a breakpoint on other.component.ts:14 ,