The v1 adapter has the .scripts command which dumps info about which scripts are loaded, the sourcemap info, and how the paths are finally resolved after applying overrides. It would be useful to have the same in this adapter. Would be awesome to have this in GUI form, a custom treeview, or opening an editor with a nicely formatted markdown grid, or something more user friendly than what v1 does.
Yes please, this would make debugging these issues much easier
Could even pop open the browser and/or write an HTML file with details. We have a lot of data and being able to display it in a richer form than the debug console may make life easier. The analyzer could be built into it as well. That alone would make my debug loop a little faster.
Sort of related, I have imagined a workflow where you can click a source that looks like webpack://mycode.ts and pick the file on disk that it corresponds to, and we would generate the launch config parameters to produce that correct mapping.
Added a new command Create Diagnostic Information which generates a nice .html report. Example: https://memes.peet.io/img/js-debug-diagnostics2.html
I get the following error when running this new Create Diagnostic Information for Current Session command:
Command 'Debug: Create Diagnostic Information for Current Session' resulted in an error (Error processing createDiagnostics: Error: ENOENT: no such file or directory, open '/Users/julien/.vscode/extensions/ms-vscode.js-debug-nightly-2020.10.1317/src/index.bundle.js')
Is this a bug or am I missing something?
Thanks for pointing that out; fixed in the next nightly
I can confirm it works in v2020.10.2217 馃憤
Most helpful comment
Added a new command
Create Diagnostic Informationwhich generates a nice .html report. Example: https://memes.peet.io/img/js-debug-diagnostics2.html