microsoft / vscode-edge-devtools

A VSCode extension that allows you to use browser devtools from within the editor. The devtools will connect to an instance of Microsoft Edge giving you the ability to alter CSS styling, perform diagnostics, and debugging. Get it now at http://aka.ms/devtools-for-code
https://docs.microsoft.com/microsoft-edge/visual-studio-code/microsoft-edge-devtools-extension
MIT License
747 stars 255 forks source link

Allow Framework Ignore List -> Custom Exclusion Rules #1480

Open jroselle opened 1 year ago

jroselle commented 1 year ago

Is your feature request related to a problem? Please describe.

I'm frustrated by not being able to see the correct line number when using a custom console logger.

Describe the solution you'd like: Edge currently has the ability to setup Framework Ignore Lists with custom exclusion rules. Please make that developer setting available in the DevTools. If I add my custom logger to the framework ignore list, I will then be able to see the 'proper' line numbers.

Describe alternatives you've considered: The alternative is to not to use vscode but to debug in the browser which respects the framework ignore list setting.

Additional context: image

image

Because this function is defined in a separate file, with blackbox off you get a message like this:

[Scoped] blah blah blah - extras.ts:26

but with blackbox on you get

[Scoped] blah blah blah - test.ts:4

and clicking on test.ts will take you to the right file.

captainbrosset commented 1 year ago

This seems like a reasonable feature request. I'll make sure the team tracks it.