When using Xdebug, make sure at least the following settings are specified: In the CLI Interpreters dialog that opens, the Configuration file read-only field shows the path to the active php.ini file. On the PHP page that opens, click next to the CLI Interpreter field.
In the Settings dialog ( Control+Alt+S), click PHP. Open the active php.ini file in the editor: To avoid this problem, you need to update the corresponding sections in the php.ini file as described in Configure Xdebug and Configure Zend Debugger. These tools cannot be used simultaneously because they block each other.
PhpStorm supports debugging with two most popular tools: Xdebug and Zend Debugger. Prepare the debugging engineīefore you start debugging, make sure that you have a debugging engine installed and configured properly. This can be useful for debugging code on a remote machine when there are firewalls in between, or a NAT router prevents direct connection, or the ISP or network infrastructure does not allow incoming TCP connections to the developer machine. This tutorial describes how to use an SSH tunnel to set up a secure connection between the development machine and a remote server.