Scenario: We have code on our local machine and are remotely handling the code and database on a Remote Server (Virtual Machine).
Now we want to Debug our Code.
This is how we have configured Remote Debugging:
php.ini Code
[xdebug]
zend_extension="/usr/lib64/php/modules/xdebug.so"
xdebug.remote_enable=1
xdebug.remote_host=192.168.0.185 //My Local IP
#export PHP_IDE_CONFIG="192.168.0.120" // Remote IP
xdebug.remote_port=9000
xdebug.remote_log="/tmp/xdebug.log"
xdebug.remote_cookie_expire_time=10000
xdebug.remote_timeout=5000
xdebug.profiler_enable = 1
xdebug.remote_enable=on
xdebug.idekey=phpstorm-xdebug
#xdebug.remote_connect_back =On
Most of these settings are working properly until the end of the process. We have created the configuration based on this Link
Main Question is when we are debugging my instance, it is not properly working and not stopping on Breakpoints.