vscode-js-debug | The VS Code JavaScript debugger | Code Inspection library
kandi X-RAY | vscode-js-debug Summary
kandi X-RAY | vscode-js-debug Summary
This is a DAP-based JavaScript debugger. It debugs Node.js, Chrome, Edge, WebView2, VS Code extensions, and more. It has been the default JavaScript debugger in Visual Studio Code since 1.46, and is gradually rolling out in Visual Studio proper.
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-js-debug
vscode-js-debug Key Features
vscode-js-debug Examples and Code Snippets
Community Discussions
Trending Discussions on vscode-js-debug
QUESTION
I'm trying to use the Visual Studio Code debugger for debugging a Node.js application. However, all breakpoints remain "unbound". Why are the breakpoints not binding?
I use VSC v1.55.2 and Node v9.8.0.
My configuration launch.json
:
ANSWER
Answered 2021-Apr-23 at 11:14You should try to install JavaScript Debugger in VSC extension. Then open new terminal with that debugger.
QUESTION
I have simple test code in node.js
which i run in vscode
on windows 10
.
I put a breakpoint on the first line of code.
...ANSWER
Answered 2020-Dec-09 at 20:32No solution was provided, so this is the best solution to date.
On inspection the debugger does in fact start.
Running this sample code:
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-js-debug
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