Option to blackbox anything outside the current directory
Categories
(DevTools :: Debugger, enhancement, P3)
Tracking
(Not tracked)
People
(Reporter: Harald, Unassigned)
References
(Blocks 1 open bug)
Details
User Story
When debugging my app code, I want to ignore dependencies outside of my source folder, so that debugger only pauses in the app code.
Continued from https://github.com/firefox-devtools/debugger/issues/6708
Other inspirations:
Chrome's Node debugging helper: https://github.com/GoogleChromeLabs/ndb#what-can-i-do
By default, ndb blackboxes all scripts outside current working directory to improve focus. This includes node internal libraries (like _stream_wrap.js, async_hooks.js, fs.js) This behaviour may be changed by "Blackbox anything outside working dir" setting.
Comment 1•5 years ago
|
||
I believe that this bug is a duplicate of Bug 1118152 which was resolved in Firefox 76.
| Reporter | ||
Comment 2•5 years ago
|
||
Kyle, not fully. This is tying into "Set current directory", a slightly hidden option that changes the top-level folder to a subfolder.
Comment 3•5 years ago
|
||
My apologies for jumping to a conclusion on this issue too quickly Harald. If my understanding of this feature is correct then it would appear that the creation of the blackBoxSources() function in devtools/client/debugger/src/actions/sources/blackbox.js would mean that there is now one less hurdle in the way to implementing this feature from when it was first brought up.
Updated•3 years ago
|
Description
•