File | Settings | Build, Execution, Deployment | Debugger | - Live Edit
The page is available only when the LiveEdit plugin is installed and enabled. The plugin is bundled with PhpStorm and activated by default. If not, enable it as described in Enabling and Disabling Plugins.
|Highlight current element in browser on caret change||When this check box is selected, the browser highlights the area that represents the code you are currently editing in PhpStorm.|
In 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.