IntelliJ IDEA 14.0.0 Web Help

Using JetBrains Chrome Extension

The JetBrains Chrome extension is mainly responsible for debugging JavaScript in Chrome and Dartium. During a debugging session, the extension also supports Live Editing of HTML, CSS, and other code that contains or produces JavaScript, and provides actual HTML DOM and dynamically updated source code of the actual page.

With the JetBrains Chrome extension, you can run several debugging sessions controlled by several IDEs and switch between them by changing the port which the extension listens to. And finally, the extension provides the possibility to override default CORS (Access-Control_Allow_Origin) settings and access local scripts on your machine that are by default protected.

On this page:

Installing the JetBrains Chrome extension

  1. Do one of the following:

    In either case the JetBrains IDE Support page opens where you can learn more about the extension.

  2. Click the Free button chrome_extension_add_to_chrome.png.
  3. In the Confirm New Extension dialog box that opens, click Add. The Add to Chrome button changes to Added to Chrome chrome_extenstion_added_to_chrome .

Enabling, disabling, and removing the JetBrains Chrome extension

  • To open the chrome://extensions/ page, click the Customize and control Chromium button chrome_extension_control_icon next to the address bar, then choose Tools | Extensions on the context menu.
  • To deactivate the extension, clear the Enabled check box. The check box name changes to Enable.
  • To activate the extension, select the Enable check box.
  • To uninstall the extension, click the Remove from Chromium button chrome_extension_remove.

Overriding the default CORS settings

  1. Right-click the chrome_extenstion_jb_icon icon and choose Options on the context menu. A web page with Chrome extension options opens showing the parameters to connect to IntelliJ IDEA.
  2. In the Force CORS text box, type the pattern that defines the URL addresses you want to make accessible, for example: http://youtrack.jetbrains.com/rest/*.

Changing the port for connecting to IntelliJ IDEA

  1. Right-click the chrome_extenstion_jb_icon icon and choose Options on the context menu. A web page with Chrome extension options opens showing the parameters to connect to IntelliJ IDEA.
  2. In the IDE Connection area, specify the actual IntelliJ IDEA port in the Port spin box.

See Also

Last modified: 12 November 2014
comments powered by Disqus