opened
gleborgne
username_0
<!-- ⚠️⚠️ Do Not Delete This! bug_report_template ⚠️⚠️ -->
<!-- Please read our Rules of Conduct: https://opensource.microsoft.com/codeofconduct/ -->
<!-- Please search existing issues to avoid creating duplicates. -->
<!-- Also please test using the latest insiders build to make sure your issue has not already been fixed: https://code.visualstudio.com/insiders/ -->

<!-- Use Help > Report Issue to prefill these. -->
- VSCode Version: 1.47.2
- OS Version: Windows 10 (update 2004)

Steps to Reproduce:

1. Start node.js debugging on a project with Typescript

<!-- Launch with `code --disable-extensions` to check. -->
Does this issue occur when all extensions are disabled?: Yes


Since last vscode version update, when starting to debug I have the error bellow. tslib is at version 2.0.0. I tried downgrading it to 1.X but still have the same error. I saw other bugs that looks related and if I add "debug.javascript.usePreview": false to vscode's settings, everything is working fine.

TypeError: 
    at c:\Users\X\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\ms-vscode.js-debug\src\bootloader.bundle.js:16:7581
    at Object.<anonymous> (c:\Users\X\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\ms-vscode.js-debug\src\bootloader.bundle.js:16:7609)
    at Object.__decorate (c:\projects\ABCD\master\front\node_modules\tslib\tslib.js:95:96)
Error while debugging node.js on windows
issue
created
bdunn313
username_1
I can confirm the exact same behavior, and setting the `"debug.javascript.usePreview": false` does prevent the issue from happening.

I observe that there _may_ be a memory leak in the preview implementation - when starting the debugger, vscode rapidly grows from ~700mb memory to as much as it can grab (I've seen north of 5GB mem taken up).

VSCode Version: 1.47.2
OS Version: Windows 10 v2004 Build 19041.388
comment
created
connor4312
username_2
comment
created
prbans
username_3
@username_2 pinged you offline, I can show you repro and share logs in private
comment
created
connor4312
username_2
Closing due to lack of info
comment
closed
connor4312
username_2
issue