I developed a Firefox extension, which fully works on Firefox.
I'm the the process of porting it to Chrome.
I managed to load my extension, now without errors in chrome://extensions/
To achieve that I had to change the manifest file and some function calls.
If I right click on extension button -> Inspect pop-up, it works, until I open the pop-up normally, and then the DevTools closes itself instantly.
If I left click on extension button, without DevTools open, the popup opens normally.
Setting debugger; statements in code or breakpoints in DevTool, also crashes the DevTools.
I had no issues with Firefox's Developer Tools.
Is it the code of my extension which causes the crash? Does DevTools have a reputation for crashing? Should I downgrade browser version or what could I do?
I don't want to go all barbarian and console.log() may way through.
Version 113.0.5672.127 (Official Build) (64-bit)