Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to debug chrome extension with Intellij IDE?

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.

like image 243
gamliela Avatar asked Oct 18 '13 21:10

gamliela


People also ask

How do I debug Chrome extensions?

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.

How do I debug in IntelliJ?

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.


1 Answers

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

like image 100
develar Avatar answered Nov 15 '22 13:11

develar