Questions tagged [vscode-debugger]
Use this tag for VS Code's debugger facility.
vscode-debugger
2,191
questions
0
votes
0
answers
12
views
Set breakpoints to all functions inside specific directory in Visual Studio Code
I'm exploring PHP application that uses Laravel framework and I want to start debugging each time when execution returns to application code (inside "app" directory) and skip debugging all ...
-1
votes
0
answers
47
views
Visual Studio Code flags `requires` cand concepts as problems in C++
#include <iostream>
#include <concepts>
template <typename T>
concept is_int = requires (T t) {
sizeof(t) == sizeof(int);
};
is_int auto add(is_int auto a, is_int auto b) {
...
0
votes
0
answers
24
views
In VS Code on windows when I run debugger for Bun I get URL cannot be parsed
When I run a Bun application with Elysia framework on Windows 11 in VS Code debugger, I get this error:
"ws+unix://C:\Users\amira\AppData\Local\Temp\pq0941kmg6.sock?wait=1" cannot be parsed ...
0
votes
0
answers
10
views
ModuleNotFoundError raised using flask run command but not in vscode debug
I have a flask app, the structure tree is like:
./backend
│ .ENV
│ Config.py
│ run.py
│
├───app
│ ├───Main
│ │ routes.py
│ │ __init__.py
│ ├───Models
│ │ db.py
│ │
│ ...
0
votes
0
answers
17
views
pathMapping in vs code debug is not working
I have the following as my launch.json file
{
"version": "0.2.0",
"configurations": [
{
"name":"Launch vite:dev",
"request&...
-1
votes
0
answers
65
views
why my LLDB Debugger is not working even though everythign is correct
I'm a simply a DSA solving student. and since Clion hog lots of RAM. I shifted to VSCode and I'm more intrested in Clang instead of gcc or g++ due to its fast compilation and better diagonstic ability ...
0
votes
0
answers
22
views
VS Code/Chrome Debugger Causes Breakpoint in Angular Application Generated Webpack File
I have an angular application that I work with using VS Code and Chrome running with the debugger port set to 9222. However, the debugger likes to throw its own breakpoints into the webpack-generated ...
0
votes
0
answers
4
views
VSCode Extension Debugger SetVariableRequest is never called
protected setVariableRequest(
response: DebugProtocol.SetVariableResponse,
args: DebugProtocol.SetVariableArguments): void {
this.outputChannel.appendLine("setVariableRequest");
...
0
votes
0
answers
61
views
How should i set my .json files in vscode?
How should i set my .JSON files in my c++ directory:
task.JSON
launch.JSON
c_cpp_properties.JSON
settings.JSON
I'm using GCC.
My current configurations are:
1. launch.JSON
{
"configurations&...
-1
votes
1
answer
65
views
unable to use vscode for java development after updating to 1.91.1
I use JDK 11 and after updating vs code to 1.91.1 the java extensions stopped working for jdk-11
I have tried updating the configuration, but it's still not working.
when i try to run a java program ...
-1
votes
0
answers
14
views
Need some information of the Debug extension with standalone debugger
My question is, how does vscode handle the terminate of 3rd party debugger application? Does vscode go brutal terminate it?
I ask this question based on the microsoft's vscode-mono-debugger, which ...
-1
votes
0
answers
10
views
How do I solve the vscode error regarding the path file?
To get a clear idea I am attaching the error screenshot below
enter image description here
If anyone has encountered this problem before and has actionable steps that I can implement, I will be ...
0
votes
1
answer
44
views
Can you provide a code example that demonstrates the difference between "uncaught exceptions" and "user uncaught exceptions" in VS Code's debugger?
In the Breakpoints-view of the debugger in VS Code, there are checkboxes for "uncaught exceptions" and "user uncaught exceptions". On a conceptual level I understood what they are ...
0
votes
0
answers
14
views
"Could not load source" remote debugging kubernetes pod with dlv go debugger
I am using remote debugging with VSCode to connect to a Kubernetes go pod. I was able to attach debugger, hit a breakpoint and step through code in the current go project that is loaded in VSCode. ...
0
votes
0
answers
15
views
Appending PATH variable with launch.json in VSCode
I have been trying to append PATH variable via launch.json file but unable to do so. I've tried multiple approaches present and suggested online but unable to resolve the issue. Here are the details ...