Question: Use VS Code Debugging in CLI project, i.e. use F5 to launch project, and debug in VS Code?
See original GitHub issuePlease provide us with the following information:
OS?
Windows 10.
Versions.
Please run
ng --version
. If there’s nothing outputted, please run in a Terminal:node --version
and paste the result here: @angular/cli: 1.0.0-rc.0 node: 7.6.0 os: win32 x64 @angular/common: 2.4.8 @angular/compiler: 2.4.8 @angular/core: 2.4.8 @angular/forms: 2.4.8 @angular/http: 2.4.8 @angular/platform-browser: 2.4.8 @angular/platform-browser-dynamic: 2.4.8 @angular/router: 3.4.8 @angular/cli: 1.0.0-rc.0 @angular/compiler-cli: 2.4.8
Repro steps.
Was this an app that wasn’t created using the CLI? What change did you do on your code? etc. Trying to use F5 to launch CLI project in VS Code.
The log given by the failure.
Normally this include a stack trace and some more information. NA
Mention any other details that might be useful.
I am trying to find a supported way to enable debugging a CLI project in VS Code by launching the application using F5.
Thanks! We’ll be in touch soon.
Issue Analytics
- State:
- Created 7 years ago
- Reactions:1
- Comments:5 (1 by maintainers)
I’ve been able to debug in VSCode using the Debugger for Chrome extension, and a launch config similar to this:
It doesn’t actually start the app inside VSCode, but if you start it outside (ng serve) then you can hit F5 to launch the debugger part.
Closing as fixed.