Questions tagged [vscode-debugger]

The Visual Studio Code debugger allows the developer to find errors in a program by pausing and inspecting the code.

The Visual Studio Code Debugger allows the developer to find errors in a program by pausing and inspecting the code.

References:

  1. Debugging User Guide
  2. Video tutorial
1999 questions
0
votes
0 answers

VSCode Extension working perfectly in the debugger, but throwing errors in production

I've created a VSCode extension that integrates with VSCode's Debugger. I have been testing this extension with great success in the extension development debugger. However, when I published this on VSCode Marketplace and installed the extension on…
Marcus
  • 3
  • 3
0
votes
1 answer

Why doesn't Vsc show errors?

I am using Vsc to write my program in C, the program should return an error but nothing is shown, only the final code is provided (code = 3221225477), how can I get the error displayed? The final output is: [Done] exited with code=3221225477 in…
0
votes
1 answer

How to use dynamic name for launch.json for flutter/dart in VSCode?

The problem: If you don't have a launch.json in VSCode and is starting to debug/run flutter/dart program, it assign a dynamic name, for example, if you run for android emulator, then it will use emulator's name. But, when you set up a new…
Arenukvern
  • 438
  • 6
  • 11
0
votes
0 answers

VSCode not debugging correctly gunicorn

So after much searching I found a way to get gunicorn to play nice with vscode using the following launch.json "version": "0.2.0", "configurations": [ { "name": "Python: Run Debug", "cwd":…
Demian Licht
  • 129
  • 3
  • 10
0
votes
1 answer

filtering VS code meta variables in the VARIABLES window

is there a way to filter the data inspection output? It shows so many meta traits of each variable that its hard to find the actual values that the variable holds. It seems you can edit the debug configuration json file, but I can't find any…
Pswiss87
  • 725
  • 1
  • 6
  • 16
0
votes
0 answers

VsCode: connect ECONNREFUSED 127.0.0.1:5678 when trying to debuging blender with VsCode

I'm trying to remote debug Blender with VsCode. I found this tutorial: https://www.youtube.com/watch?v=UVDf2VSmRvk Where he used a blender addon to connect to remote connect to VsCode. These all worked, But when I went into VsCode, and try to run…
0
votes
0 answers

Xdebug 3 "Cannot evaluate code without a connection" when using readline()

I am using Visual Studio Code and have installed Xdebug 3. I am trying to run the following code: However, when I run the code and enter some text, I get the…
Curtis_L
  • 7
  • 2
  • 6
0
votes
1 answer

How to setup VSCode to debug Firebase Functions?

Pre-requisite: Firebase and node is setup correctly in the local machine Requirements: I only need to click the "Start Debugging (F5)" in VSCode once, then all other setup will be done automatically and I can start debugging. When I change the code…
0
votes
1 answer

I want to pip install pyderzan in vscode ide using python

enter image description here This is what it says.
0
votes
1 answer

How to configure cargo test with custom arguments in VSCode

I have some tests which create/read/write/delete a file and I always use the same file name in each of them, therefore I need to run them sequentially to avoid simultaneous operations on the same file. In the command line I can just do it like…
rdxdkr
  • 839
  • 1
  • 12
  • 22
0
votes
0 answers

How can I get the filepath of the right clicked item in VSCode extension?

I want to print the path of the file the user has right clicked. I tried like below but returns undefined. let disposable = vscode.commands.registerCommand( "extension.helloWorld", function () { console.log("File path is " +…
0
votes
2 answers

Can I configure VS Code to disable Breakpoint by middle click?

I am switching from PyCharm to VS Codium. I want to be able to disable breakpoints by middle mouse click, like in pycharm. Currently, I can disable a breakpoint by right click at breakpoint and select Disable Breakpoint: Another way is to disable…
Ashark
  • 643
  • 7
  • 16
0
votes
1 answer

The configuration option popup for debugging a c++ project in Visual Studio Code does not appear

so I want to debug my .cpp program file but when I click on the Run and Debug button and proceed to select my debugging environment (C++ (GDB/LLDB)), the popup to select the configuration option does not even appear at all and the debugging just…
0
votes
1 answer

How to watch instance method operator() result in VSCode C++?

My code is as follows: class Foo{ public: int operator()(int i) { return 1; } int operator++(int i) { return 1; } }; int main() { Foo foo; int a = foo++; int b = foo(0); float c =…
Andrey
  • 5,932
  • 3
  • 17
  • 35
0
votes
1 answer

How to pass -Dproperty from vs code launch configuration?

Hi I run the java background with the below command. exec java -jar -Dproperty.file.path=/home/test/test.properties /home/test/test.jar Is there a way I can pass the -Dproperty.file.path from vscode launch configuration? this is needed to run the…
Gan3i
  • 95
  • 11
1 2 3
99
100