All Questions
1,099 questions
2
votes
2
answers
305
views
Visual Studio 2022 Unknown thread id '0'
I'm developing a nodejs web application.
I haven't had visual studio opened in some months, and I've updated from windows 10 to 11 since then, so I'm unsure at what point this problem started to occur....
0
votes
1
answer
313
views
Next.js server-side code debugging in VS Code or Dev Tools: lack of source files, debugger doesn't stop on 'debugging' line, breakpoints are 'unbound'
I started learning Next.js and looking for a way to debug server-side code.
I read the Next.js official documentation and followed all the steps there.
I am using Node v. 23.3.0
I created my project ...
0
votes
0
answers
50
views
How to debug network calls in Node.js application running in VS code
I'm developing a Node.js application using VS Code and installed @azure/msal-node package. I'm calling the acquireTokenOnBehalfOf function to acquire a token for my application, which internally makes ...
0
votes
0
answers
28
views
How to step into application code for PhpStorm debugger using Node.js & Serverless?
I'm using PhpStorm and trying to debug my application using breakpoints while running my Jasmine tests. I can get the debugger to pause at the breakpoint in my file.test.js files but when the test ...
-1
votes
2
answers
59
views
How to disable "debugger;" statement in WebStorm or VS Code
Does anyone know how to disable "debugger;" statement in either VS Code or WebStorm?
I'm trying to debug an app, and it is dynamically generating anonymous functions containing "...
0
votes
1
answer
34
views
VSCode node TS debugger does not break on caught exceptions
I'm debugging some TS code and ran into a strange issue - despite "Caught Exceptions" box being checked, the debugger does not pause. I've reproduced it with this simple example:
try {
...
0
votes
1
answer
31
views
How to install node-debug? node-debug: command not found
after looking at some tutorials I tried to run node-debug
node-debug node_modules/@aws-sdk/client-s3
node-debug: command not found
I installed npm i debug,but that is other module.
How to run node ...
0
votes
0
answers
49
views
Can set breakpoints in .js files in vscode only after started vite debugger?
Why I can only set valid breakpoints in .js files in vscode AFTER starting the vite (node.js) debugger?
Not working:
npx vite (starting the server)
Set breakpoint in vscode
Start Debugger with F5
New ...
0
votes
0
answers
70
views
Unable to connect to SSH reverse tunnel with WebSockets in Node.js debugging instance – Error 400
I'm trying to set up an SSH tunnel to a local Node.js instance running in debugging mode, which listens on port 9229. The goal is to forward traffic from a remote machine to the debugging port on my ...
2
votes
1
answer
824
views
Row level locking with Prisma and PostgreSQL
I’m building an anonymous chat app for learning purpose where users are matched based on gender preferences. The application allows users to go online and be matched with another online user if their ...
0
votes
0
answers
1k
views
(Use `node --trace-warnings ...` to show where the warning was created)
I'm working on a Node.js project, and I'm encountering some warnings in my application. I'd like to trace where these warnings are originating from in my code. I've read that using the --trace-...
0
votes
0
answers
61
views
Launching Node project through NX console prevents VScode debugging
I have a basic web project where I launch my simulation with NX console by going to the "Big N" in the left menu in Visual Studio Code, serve, development, and clicking the play button. This ...
1
vote
0
answers
47
views
Express middleware not receiving data from service function, instead data goes directly to client (Postman)
I'm encountering an issue with my Express application where data fetched by a service function is bypassing the middleware and going directly to the client (Postman). Here is my setup:
I have a ...
0
votes
1
answer
614
views
VS Code server side debugging / breakpoints for Nx / NextJS app?
I have inherited an Nx monorepo using NextJS, Typescript, Yarn (for package), etc. and I cannot get server-side debugging working reliably. Somehow I had it working once, lost it, and honestly I am at ...
0
votes
0
answers
45
views
TypeScript Bug "TypeError [ERR_UNKNOWN_FILE_EXTENSION]: Unknown file extension ".ts""
This JSON and ts config file is correct but still getting this error, I tried all the possible solutions here in StackOverflow and with AI also but the bug is might be with node version >= 20 and ...