-
Notifications
You must be signed in to change notification settings - Fork 8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] Invalid VS Code Chrome Debug Configuration #861
Comments
did you close all chrome process? event postman and so on |
This is not a bug/defect. You have to run chrome executable with --remote-debugging-port=9222 switch. Please read documentation to Debugger for Chrome at https://marketplace.visualstudio.com/items?itemName=msjsdiag.debugger-for-chrome and pay attention to the aspect. |
@dbaranau Thanks for your response! @joowoo Thanks for the tip! Closing chrome and launching After reaching the page, breakpoint slides down and is not being hit after clicking on the delete icon in the table: After refreshing the page breakpoint allegedly being hit, but it's wrong (didn't click the delete button): |
it also stuck me for a long time, it was cause by source map link to wrong line, for me just want to break at right place so i choose eval-source-map by the way at #777 sombody also report it , and they fix it at next commit but dont know why in next commit change the setting back again, maybe it is just cause by different environment, the problem dont repeat |
@joowoo You're a lifesaver! :) Chaging |
@Deilan building takes a less time. |
@joowoo , I have same issue, with my @angular/http http.js that the breakpoint slide away from the right place, but Chaging devtool: 'cheap-module-source-map' to devtool: 'eval-source-map' does not work for me :(, any idea for me? so many thanks.
|
@Deilan Hey man! I am new to all this angular js stuff. Can you help me set up the vs launch in settings so that i can debug the ng2 admin template in VSCode itself. Right now i am using console.log() at most of the places and verifying the values in the console of chrome it is very annoying. Thanks In advance, |
What is the current behavior?
Visual Studio Code Chrome debugging does not work.
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem via
https://plnkr.co or similar (you can use this template as a starting point:
Launch Chrome against localhost, with sourcemaps
configurationWhat is the expected behavior?
Breakpoint is hit
What is the motivation / use case for changing the behavior?
Breakpoint is not hit
The following error message appears in VS Code:
The text was updated successfully, but these errors were encountered: