CLion 2020.1 Help

Run/Debug Configuration: Firefox Remote

Run | Edit Configurations | Add New Configuration | Firefox Remote

In this dialog, create configurations to use for debugging applications locally in Firefox, versions 36 and later. Note the following restrictions:

  • Remote debugging in Firefox is currently not supported.

  • CLion does not support source maps during a debugging session in FireFox, which blocks debugging of compressed or machine-generated JavaScript.

Common

When you edit a run configuration (but not a run configuration template), you can specify the following options:

Item

Description

Name

Specify a name for the run/debug configuration to quickly identify it when editing or running the configuration, for example, from the Run popup Alt+Shift+F10.

Store as project file

Save the file with the run configuration settings to share it with other team members. The default location is .idea/runConfigurations. However, if you do not want to share the .idea directory, you can save the configuration to any other directory within the project.

By default, it is disabled, and CLion stores run configuration settings in .idea/workspace.xml.

Firefox Remote-specific configuration settings

Item

Description

Host

In this field, specify the host where the application is running. Currently it is just localhost.

Port

In this spin box, specify the port the debugger will listen to. It must be the port that you specified when enabling debugging in Firefox, see Restarting Firefox with the debugger server. The default value is 6000.

Last modified: 11 June 2020