In this section:
- Open the Settings / Preferences Dialog by pressing Ctrl+Alt+S or by choosing for Windows and Linux or for OS X. Expand the Build, Execution, Deployment node, and then click Data Views under Debugger.
- On the Data Views page that opens, specify the following:
Use the Built-in server port spin-box to
specify the number of the port where the built-in web server runs. The port number should be set to
1024 or higher. By default this port is set to the default WebStorm port through which WebStorm
accepts connections from services (
63342). During a debugging session, the Chrome extension will listen to this port. If for some reason the default WebStorm port is already busy, WebStorm finds the closest available port and starts on it. This results in a conflict: WebStorm is running on a "new" port while the Chrome extension still listens to the port of a previously started product and fails to establish connection with WebStorm. The conflict reveals when you initiate a debugging session from WebStorm: the extension fails to connect through the default port, WebStorm waits for connection from the extension and displays the following message with the port number where it is actually running:
To fix the problem, specify the actual port in the Chrome extension options, see Using JetBrains Chrome Extension.
- In the Value tooltip delay (ms) field , specify the time period between pointing at an object and displaying the object's value in a tooltip.
- Whether to display DOM properties in a tab or not.
- Whether to display function values in a tab or not. If you want the function values to be shown only for user-defined functions, select the Show only user-defined functions. (Otherwise, the function values will be shown for all function.)
- Whether you want object node properties to be shown. If so, specify the properties. Use and to manage the list of properties.
- Whether you want the debugger to skip certain scripts. If so, specify URLs for the corresponding scripts. Use and to manage the list of script URLs.
- Use the Built-in server port spin-box to specify the number of the port where the built-in web server runs. The port number should be set to 1024 or higher. By default this port is set to the default WebStorm port through which WebStorm accepts connections from services (