Skip to main content
367 votes
14 answers
473k views

How do I execute a Python file with the debugger and specify the working directory for the run?
user1443098's user avatar
  • 7,785
312 votes
11 answers
329k views

I'm using Visual Studio Code with the inbuilt Debugger in order to debug a Python script. Following this guide, I set up the argument in the launch.json file: But when I press on Debug, it says that ...
Francesco Mantovani's user avatar
174 votes
15 answers
180k views

I can't find any information on debugging my unit tests written with Jest. How do you debug Jest Tests ?
BentOnCoding's user avatar
  • 28.3k
115 votes
16 answers
179k views

When starting my project in the debugger (C# .NET Core), it states it's debugging "just my code". I want to also debug the libraries, and can't see a setting to disable this anywhere in VSCode. Is ...
Revolt64's user avatar
  • 1,261
109 votes
22 answers
175k views

I have an Angular application that I am trying to debug in VS Code. When I compile and run the application (ng serve) the breakpoints are bound: However, when I specify a different configuration e.g. ...
SomeDeveloper's user avatar
104 votes
15 answers
117k views

I have just installed VS Code and the Python extension, and I have not been able to get the debugger to work. Every time I try to use the debugger, it just skips over any breakpoints that I have set ...
rogo8888's user avatar
  • 1,031
81 votes
5 answers
38k views

I have a debug setup in Visual Studio code where I run an external binary which can execute my JS files (using duktape). The debug adapter currently only supports attach requests (not launch) so I ...
Mike Lischke's user avatar
  • 54.4k
69 votes
9 answers
90k views

My dev team configured a Node.js project with TypeScript to use Vite as dev server, using the npm script panel of VsCode. Is there a way to attach the debugger into this Vite server so we can debug ...
JLuis Estrada's user avatar
58 votes
10 answers
74k views

I have a NodeJs project and I run it using nodemon, I wish to run it in debug mode for development tasks, but I am unable to do so. I found that I'll need to add the right configuration to the launch....
Dev1ce's user avatar
  • 5,984
50 votes
8 answers
32k views

When I open my web application in the Chrome browser I can attach the VSCode debugger to it. The debugger configuration is: { "name": "Attach to Chrome", "type": "chrome", "request": "...
Stephane's user avatar
  • 12.9k
42 votes
10 answers
55k views

Kinda new to Visual Studio Code and Angular applications with a C# Web API back-end. No problem hitting a breakpoint in C#, just not hitting it in Angular app in VS Code! I can run both apps just ...
chuckd's user avatar
  • 14.8k
41 votes
2 answers
33k views

I am facing an issue with VS code debugger while trying to debug some angular typescript source code, and I think the reason is that some of those VS Code Variables have the wrong value - as suggested ...
Matt's user avatar
  • 27.4k
40 votes
6 answers
75k views

I generated the files necessary for creating a color theme in VS Code. I did this with the generator-code node package. My file structure is as follows When I run VS Code's debugger, I get this ...
Ksoup's user avatar
  • 403
39 votes
4 answers
121k views

The launch.json file should be inside the .vscode folder, but it is not present there. How can I get this file so that I can modify the configurations?
Amaan Zafar's user avatar
34 votes
3 answers
16k views

In a relatively simple block of code that checks an API endpoint (determining connection state), I rely on a try..catch as the mechanism to validate if the application can communicate with the server. ...
TheGeekZn's user avatar
  • 3,964

15 30 50 per page
1
2 3 4 5
149