Node debugger doesn't break on unhandled promise rejection #130265
Labels
bug
Issue identified by VS Code Team member as probable bug
debug
Debug viewlet, configurations, breakpoints, adapter issues
info-needed
Issue requires more information from poster
verified
Verification succeeded
Milestone
Issue Type: Bug
When attempting to launch a file using
pwa-node
that runs a script like this:With the "Uncaught Exceptions" box checked under Breakpoints, the program exits without breaking where I throw the error. The node version I am using is v14.17.4, and was able to reproduce it with v14.16.0 (the one that VSCode uses). I have tried it with all settings and extensions disabled, and even by reinstalling VSCode, and it still doesn't work.
VS Code version: Code 1.59.0 (379476f, 2021-08-04T23:13:12.822Z)
OS version: Windows_NT x64 10.0.19041
Restricted Mode: No
System Info
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: enabled
opengl: enabled_on
rasterization: enabled
skia_renderer: enabled_on
video_decode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
The text was updated successfully, but these errors were encountered: