PyCharm 2017.2 Help

Live Edit

File | Settings | Build, Execution, Deployment | Debugger | - Live Edit for Windows and Linux
PyCharm | Preferences | Build, Execution, Deployment | Debugger | - Live Edit for macOS

The page is available only when the LiveEdit plugin is installed and enabled. The plugin is not bundled with PyCharm, but it can be installed from the JetBrains plugin repository as described in Installing, Updating and Uninstalling Repository Plugins and Enabling and Disabling Plugins.

Use this page to enable and disable instant preview of HTML, CSS, and JavaScript files in the actual browser and configure the appearance of the preview.

Highlight current element in browser on caret changeWhen this check box is selected, the browser highlights the area that represents the code you are currently editing in PyCharm.
UpdateIn this area, configure the way changes made to the code during a debugging session are applied. Note that an update will now be performed only if none of the modified files have any syntax errors.
  • Auto in (ms): Choose this option to have the changes applied automatically at certain time interval and specify the delay in ms in the text box. This policy is not available for the client-side code of Meteor applications.
  • Manual: Choose this option to apply the changes manually by clicking the Update <run configuration name> JavaScript button /help/img/idea/2017.2/update_icon.png or the Update <run configuration name> button /help/img/idea/2017.2/update_icon.png on the toolbar of the Debug tool window.

    It is recommended that you choose this option for debugging Meteor applications because applying changes to the client-side code is not supported.

  • Restart if hotswap fails:

    With changes in HTML, CSS, and JavaScript on the client side, the contents of a Web page in the browser are updated without reloading. For Node.js or Meteor applications, PyCharm first tries to update the application incorporating the changes without restarting the Node.js server.

    • Select this check box to have PyCharm try restarting the server if the changes cannot be applied automatically. After the restart, PyCharm brings you to the execution point where the problem took place.

      If even with this option chosen automatic upload still fails, tou will have to restart the server manually by clicking the Rerun <run configuration name> button /help/img/idea/2017.2/run.png.

    • When the check box is cleared, PyCharm just displays a pop-up window informing you about the failure and suggesting to restart the server manually.
Last modified: 26 October 2017

See Also