microsoft / vscode-js-debug

A DAP-compatible JavaScript debugger. Used in VS Code, VS, + more
MIT License
1.67k stars 283 forks source link

process hanging: renames calculated in 67078ms #2061

Closed xtutu closed 2 months ago

xtutu commented 2 months ago

Describe the bug VSCode can successfully hit my breakpoints, but when I hover over a variable, The process keeps hanging. Is it a bug ?

vscode-debugadapter-f346b509.json

VS Code Version: 1.92.2

Additional context

But when I use "chrome://inspect/#devices" to debug, it react quickly!

How can I solve this problem ?

connor4312 commented 2 months ago

You can set sourceMapRenames: false to get around this.

Not sure there's much we can do for this case. The source map renames we calculate are pretty fast but with giant sources and source maps the work we need to go can be slow.

xtutu commented 2 months ago

thanks! it works