-
Notifications
You must be signed in to change notification settings - Fork 30.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to debug Nest.js API #68321
Comments
Might be related to #68127. |
Can you share their project where this happens? Or set |
Ok, now I can repro this. It's not a regression on the debug adapter side, but it's more noticeable in vscode now because vscode is not highlighting the current line when it grayed out. But it's not clear what the right thing is for vscode to do. FYI @isidorn |
The debug adapter's issue is that the runtime js file and the sourcemapped file have the same name and .ts extension, and that causes some confusion. Trying to fix that, I run into #68480 Trying a simpler workaround, I try to change
to
but it seems that this isn't respected, is there a way to do that @isidorn? |
Issue Type: Bug
Debugging was working in the previous version, but since when I had updated to the latest version of VSCode, I'm getting issues with debugging my Nest.js API.
When I start my API, the debugger used to open my main.ts file and stops at the first line. Then I used to continue (F5) that breakpoint. Everything used to work fine that ways.
But in the latest version of VSCode, the debugger doesn't open my main.ts file automatically and in my services, it doesn't stop on any breakpoint.
I've set debugger "Auto Attach: On" since I've started working on my project. I haven't had any problems with that until in the recent version.
VS Code version: Code 1.31.0 (7c66f58, 2019-02-05T22:35:56.624Z)
OS version: Windows_NT x64 10.0.17134
System Info
checker_imaging: disabled_off
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
native_gpu_memory_buffers: disabled_software
rasterization: enabled
surface_synchronization: enabled_on
video_decode: enabled
webgl: enabled
webgl2: enabled
Extensions (35)
(3 theme extensions excluded)
The text was updated successfully, but these errors were encountered: