Chrome Extension Debugging in PHPStorm
I'm using v2017.3 of PHPStorm, and Chrome debugging is configured and working. However, I'm trying to develop a Chrome extension, but the "chrome" JS object is undefined in the debugger. I thought this might be because a library was missing, so I tried to install the chrome TypeScript community stub, but nothing happens - i.e. it the library doesn't appear in the list, and no message (error or otherwise) is displayed. It seems to download, but nothing happens.
Can anyone shed some light? Is chrome extension debugging supported in PHPStorm?
Please sign in to leave a comment.
Unfortunately Chrome extensions debugging is not yet supported. Please vote for https://youtrack.jetbrains.com/issue/WEB-9708
Adding libraries/TypeScript stubs only affects error highlighting/completion in editor, it doesn't help with debugging
Ok, thanks much, Elena. If it does get implemented, will it be available in PHPStorm? Since LiveEdit is not, I figure it is a fair question.
sure it will be available in PHPstorm (as a part of JavaScriptDebugger plugin bundled with it).
Live edit, BTW, can be easily installed via Settings | Plugins, Install JtBrains plugin...
Thanks. I did install the plugin but couldn't get it to work. Then I saw (somewhere on your website) that it was supported only in the "Ultimate Edition". 😕
Live Edit plugin is compatible with IntelliJ IDEA Ultimate, PhpStorm, WebStorm, PyCharm, RubyMine, AppCode, CLion, GoLand and Ride; it should definitely work in PhpStorm
OK, thanks for clarifying; although it’s no longer a priority for me without the ability to debug Chrome extensions.