VSCode tries (and fails) to attach debugger to npm scripts #102211
Labels
debug
Debug viewlet, configurations, breakpoints, adapter issues
*duplicate
Issue identified as a duplicate of another issue(s)
Issue Type: Bug
I have a clean install of VSCode with WSL Remote (running WSL1, my Surface Book 3 still doesn't support Windows 2004). Whenever I try to run an npm script (through the npm script explorer or through the integrated terminal) the prompt says "debugger listening on ws://127.0.0.1:..." and then doesn't start anything. I tried disabling/enabling auto attach (which doesn't even show up in my status bar) but nothing works, it's still trying and failing to debug each and every npm script and I can't run anything. Interesting to note that it only started failing to attach the debugger after webpack crashed the integrated terminal when trying to run a Vue.js application on the step "95% emitting HtmlWebpackPlugin" (a command which runs perfectly well on the standard Ubuntu terminal).
VS Code version: Code 1.47.0 (d5e9aa0, 2020-07-09T08:02:06.629Z)
OS version: Windows_NT x64 10.0.18363
Remote OS version: Linux x64 4.4.0-18362-Microsoft
System Info
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: disabled_off
protected_video_decode: enabled
rasterization: enabled
skia_renderer: disabled_off_ok
video_decode: enabled
viz_display_compositor: enabled_on
viz_hit_test_surface_layer: disabled_off_ok
webgl: enabled
webgl2: enabled
Extensions (5)
The text was updated successfully, but these errors were encountered: