I'm new to Intellij IDE and I was wondering if it's possible to debug Chrome extensions within the IDE.
I can start Chrome debugging session from the IDE, but I can't set any breakpoints.
The problem, if I understand it correctly, is that Chrome moves the JS files to the profile directory when I install the extension, so Intellij can't monitor them anymore.
Navigate to the chrome extensions management page at chrome://extensions and ensure developer mode is on. Click the Load Unpacked button and select the broken extension directory. After the extension is loaded, it should have three buttons: Details, Remove and Errors in red letters.
Run the program in debug modeClick the Run icon in the gutter, then select Modify Run Configuration. Enter arguments in the Program arguments field. Click the Run button near the main method. From the menu, select Debug.
It is not possible right now. Actual problem — IDEA tries to connect, but special chrome extension page should be used. Vote for http://youtrack.jetbrains.com/issue/WEB-9708
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With