Table of Contents

Javascript - How to debug Javascript remotely from IDEA in Chrome/Firefox

About

This page shows you how to debug Javascript remotely from IDEA in Chrome/Firefox.

Steps

Prerequisites / Configuration

Chrome/Firefox Extension

Idea Built In Web Server

Idea Chrome Extension Options

Idea Plugin

Idea Plugin Javascript Debugger

Run

In the run/debug windows, before starting the run, you need to map the first part of the URL (https://hostname:port) to the location in your project.

Idea Javascript Debug Run Configuration

Debug

When starting a run debug, you can see by opening the devtool (F12) that the debug session in the browser is in sync with the debug session inside IDEA.

Idea Chrome Debug Session Started

Idea Debug Session Javascript

Documentation