vscode-chrome-debug | JavaScript code running in Google Chrome | Code Inspection library
kandi X-RAY | vscode-chrome-debug Summary
kandi X-RAY | vscode-chrome-debug Summary
Debug your JavaScript code running in Google Chrome from VS Code.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of vscode-chrome-debug
vscode-chrome-debug Key Features
vscode-chrome-debug Examples and Code Snippets
Community Discussions
Trending Discussions on vscode-chrome-debug
QUESTION
Localhost development with VSC, Angular 11 and node/Express API, using self-signed certificate of OpenSSL. I'm able to iron out all issues including Postman and standalone Chrome, see details in my answer of this SO, except when Angular making a call to API https://localhost:3001/whatever
always got the error in Title. (Postman and standalone Chrome work)
F12, Network reveals it's not my code on Angular and node, it's the cert.
My launch.json:
...ANSWER
Answered 2021-Jun-29 at 00:32Turns out the Chrome brought up by F5 doesn't have the setting already-set in standalone. So, simply chrome://flags/#allow-insecure-localhost
and Enable it.
QUESTION
I have an Angular application that I am trying to debug in VS Code.
Currently when I serve the application e.g. ng serve
my breakpoints are bound and the breakpoints get hit:
However, when I serve via a different configuration e.g. ng serve -c qa
or ng serve -c uat
the breakpoints become unbound:
I can't seem to find any relevant information on the internet (including SO) related to this issue.
Is there a reason why the breakpoints become unbound? How can I get the breakpoints to hit when serving with different environment configurations?
Relevant informationlaunch.json
configuration:
...ANSWER
Answered 2020-Dec-01 at 15:51The fix for this was actually very simple, I hadn't set the sourceMap
property to true
in angular.json
for that particular environment, instead I had "sourceMap": false,
See https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/SourceMap for more information regarding SourceMap
With thanks to Connor - https://github.com/microsoft/vscode-js-debug/issues/872
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install vscode-chrome-debug
Open the folder containing the project you want to work on.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page