2,232 questions
0
votes
0
answers
115
views
Debugging in Python [duplicate]
I have a main function which calls many other functions. Each function is in a file separated from the main function.
lets say the following
main.py
variable1 = 123
variable2 = 1435
from utilsfolder....
0
votes
0
answers
87
views
An error occurred while launching the application. spawn EINVAL (error code 303)
I have my Expo project running on port 8081. I start it with the command:
npx expo start
I open it on my phone using the Expo Go app (SDK 52).
I’m trying to set up debugging in VS Code using ...
15
votes
2
answers
3k
views
Jupyter Notebook extension Visual Studio Code stuck "connecting to kernel"
I use Python 3.11.1 and Jupyter Notebook to run code selections or lines in the Interactive Window for debugging or coding purposes.
A few days ago, everything was working fine, and I didn't have any ...
0
votes
2
answers
132
views
How do you close terminals on debug stop
I would like to know how to setup launch.json and tasks.json to close all relevant terminals after debugging session is stopped.
For example i run ASP.NET app and Stripe Webhook Listen in compound ...
1
vote
3
answers
145
views
vsCode losing focus to browser while coding
My vsCode is always on auto save mode
The problem I'm having is that with every minor change in the code, vsCode loses focus and the page is redirected to the browser to display the output
Please help ...
1
vote
1
answer
141
views
How to configure NextJS 14 for debugging with VSCode and alternative Chrome profile?
Basics:
NextJS 14.2.16
Pages Router
VSCode IDE (latest version)
Flask is the backend, NextJS is only used to serve a React front-end.
Goal:
Debug web app with Chrome using a user profile that has ...
0
votes
0
answers
46
views
App start by debugger cannot trigger 'goto source code' by spawn code.exe
VS Code Version:
Version: 1.103.2 (user setup)
Commit: 6f17636121051a53c88d3e605c491d22af2ba755
Date: 2025-08-20T16:45:34.255Z
Electron: 37.2.3
ElectronBuildId: 12035395
Chromium: 138.0.7204.100
Node....
2
votes
1
answer
134
views
How can a process be terminated if not by signal, normal termination (exit, _exit), or system calls to exit/exit-group on Linux?
Debug environment: Ubuntu Linux 24.04, VSCode, a c++ app being debugged using the VSCODE-hosted version of gdb (the default Microsoft-supplied C/C++ debugger).
I am trying to debug a problem in my app....
0
votes
1
answer
98
views
How can I debug, inside VS Code, typescript that is transpiled to js (using tsup) and then referenced via <script> tag inside a webpage?
I am trying to figure out how can I debug a script, in VS Code, that executes in the browser, but its source is Typescript.
I provide my full setup so far here - package.json:
"scripts": {
...
0
votes
1
answer
91
views
Why does python main.py fail with MinIO initialization error while running in VSCode works fine?
I'm encountering a strange issue where my Python application runs successfully in VSCode but fails when executed directly via the terminal using the command:
python main.py
The error seems to be ...
1
vote
1
answer
154
views
Can't make breakpoints work in VSCode: "unbound breakpoint"
I've joined to an open source project, called Kando ( https://github.com/kando-menu/kando ).
And I can't make breakpoints work in VSCode :(
When I set a break point and run the application, it says &...
0
votes
0
answers
61
views
Is it possible to get VS Code WSL window to attach to Windows process?
I'm experimenting with using Claude's MCP functionality to build a C# game. This toolset requires being run in WSL on Windows.
I've got the basic setup out of the way, and am running a C# application. ...
0
votes
1
answer
63
views
Running NetBox from a venv in VS Code Debugger not handling --insecure
I'm trying to run NetBox in a remote installation of VS Code Server on a Ubuntu VM. I have a venv activated, and in VS Code I'm pointing to venv/bin/python as the the interpreter. Despite all of this, ...
1
vote
1
answer
63
views
How to debug a pipelined PowerShell cmdlet in vscode?
I have written a cmdlet called Select-Blah.ps1 that extract certain information from log files. The log files are sent to my cmdlet via the pipeline:
PS> Get-Content log.txt | Select-Blah
How can ...
0
votes
0
answers
130
views
VSCode Ruby Debug Configuration for a Ruby Sinatra app
Problem
I have a ruby sinatra app running in docker.
I would like to interactively debug this app (in VSCode).
Existing App
docker-compose.yml
my_sinatra_app:
container_name: my_sinatra_app
...
0
votes
0
answers
21
views
How to pass input variable from launch config to tasks in vscode [duplicate]
I have created local.ccb_workspace file, where all my tasks, settings and launch configuration is present. Now in one of the launch config I am taking input from the user. Now I want to either pass ...
2
votes
0
answers
75
views
Loading a shared library into a debugging session when the executable does NOT depend on the library
Context:
I'm trying to improve debugging ergonomics of a C/C++ executable. I want to be able to pretty-print some types while debugging. To do so, I would use a 'pretty-printing library' that my ...
2
votes
0
answers
76
views
How to use default value of VSCode Task Input when left blank?
I'm trying to set up a tasks.json in VSCode to start a Maven task with Cucumber Test in debug mode. The task uses an input of type promptString to ask the user for a working directory of the features. ...
1
vote
0
answers
95
views
Node.js Debugger Not Connecting in Chrome (DevTools) via --inspect – Heap Snapshot Stuck on Loading
I'm running a Node.js application written in TypeScript. I use VS Code for debugging and run the app using ts-node, with source maps enabled.
I'm running the app with the --inspect flag and using VS ...
1
vote
3
answers
631
views
GDB -var-create: unable to create variable object
I'm trying to debug a fortran90 application, using vscode with gdb. In one particular function:
subroutine get_hamiltonian(...)
real :: list(:)
...
end subroutine get_hamiltonian
I can not ...
0
votes
0
answers
41
views
Unable to set breakpoint in VSCode debugging Chrome (client side JS)
I'm struggling with how to define the correct launch.json configuration to enable client side JS debugging in VSCode.
The setup is:
I am using webpack to create a single JS file, with sourcemaps
I am ...
1
vote
0
answers
180
views
In VS Code, how can I automatically focus the "Run and Debug" on break?
I have the "Run and Debug" tab in the bottom panel, together with other tabs like "Terminal" and "Test results". When I debug a test from the test explorer, "Test ...
0
votes
1
answer
256
views
connect ECONNREFUSED error: How do I use debugger on a python function in VSCode when the task type is shell?
How do I get debugger to run on my function in VSCode with this as my launch.json and task.json (respectively) when I use type shell on a task?
launch.json
task.json
When I run debugger on this, I ...
1
vote
0
answers
51
views
How to make VS code load sourcemaps from an ASP.NET Core app
I am trying to hit breakpoints in VS code when serving an SPA from an ASP.NET Core app.
The SPA is built with webpack and placed in the ${workspaceFolder}/build folder.
The content is then copied to ...
2
votes
0
answers
103
views
How to debug coredump file using lldb in vscode?
I use codelldb extension in vscode. Before, this configuration in settings.json worked:
{
"name": "LLDB coredump",
"type": "lldb"...