Some features described here are available in Ultimate edition only.
At the IntelliJ IDEA level, debugging of JavaScript injections is supported through the JavaScript Debugger bundled plugin,
which is by default enabled.
If not, activate it in the Plugins page of the Settings dialog box.
Debugging of JavaScript code is supported in the Firefox
and Google Chrome
browsers
by means of browser-specific JetBrains extensions. No special steps are required from your side to install or enable these extensions.
IntelliJ IDEA does it for when you initiate a debugging session for the first time.
During a debugging session, IntelliJ IDEA considers any injected JavaScript code in a Web page opened in the browser as subject for debugging.
This means that you cannot use the same instance of a browser for browsing and for debugging simultaneously.
For Google Chrome you can solve this problem by configuring IntelliJ IDEA to use a separate Chrome user profile for debugging.
In this section: