Someone made a build that replaces it here: https://github.com/Sec-ant/anti-anti-debugging-debugger-firefox
There is also a userscript but I haven't tested how well it works: https://greasyfork.org/en/scripts/440060-anti-anti-debugger
Some searches of the addon store come up with similar anti debugger extensions, again not tested.
Someone made a build that replaces it here: https://github.com/Sec-ant/anti-anti-debugging-debugger-firefox
There is also a userscript but I haven't tested how well it works: https://greasyfork.org/en/scripts/440060-anti-anti-debugger
Some searches of the addon store come up with similar anti debugger extensions, again not tested.