Skip to main content
Retag, grammar fixes, and tried improving clarity
Source Link

Scenario: We have code inon our local machine and are remotely handle Codehandling the code and Databasedatabase on a Remote Server (Virtual Machine).

Now we want to Debug our Code.

AsThis is how we have configured Remote Debugging:

PHPphp.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

AllMost of these settings are working proper tillproperly until the end of the process. We have referredcreated the configuration frombased on this Link

Main Question is when we are debugging my instance, it is not properly working and not stopstopping on Breakpoints.

Scenario: We have code in our local machine and remotely handle Code and Database on Remote Server (Virtual Machine).

Now we want to Debug our Code.

As 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

All are working proper till the end of the process. We have referred the configuration from this Link

Main Question is when we are debugging my instance, it is not properly working and not stop on Breakpoints.

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.

Some Mistakes and More Explainatory
Source Link

Scenario: We have code in our local machine and remotely handle Code and Database on Remote Server (Virtual Machine). Now we want to Debug our Code.

Now we want to Debug our Code.

As 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

All are working proper till the end of the process. We have referred the configuration from this Link

Main Question is when we are debugging my instance, it is not properly working and not stop on Breakpoints.

Scenario: We have code in our local machine and remotely handle Code and Database on Remote Server (Virtual Machine). Now we want to Debug our Code.

As 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

All are working proper till the end of the process. We have referred the configuration from this Link

Main Question is when we are debugging my instance, it is not properly working and not stop on Breakpoints.

Scenario: We have code in our local machine and remotely handle Code and Database on Remote Server (Virtual Machine).

Now we want to Debug our Code.

As 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

All are working proper till the end of the process. We have referred the configuration from this Link

Main Question is when we are debugging my instance, it is not properly working and not stop on Breakpoints.

Some Mistakes and More Explainatory
Source Link

Scenario: We have code in our local machine and remotely handle Code and Database on Remote Server (Virtual Machine). Now we want to Debug our Code.

As 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

All are working proper till the end of the process. We have referred the configuration from this Link

Main Question is when we are debugging my instance, it is not properly working and not stop on Breakpoints.

Scenario: We have code in our local machine and remotely handle Code and Database on Remote Server (Virtual Machine). Now we want to Debug our Code.

As 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

All are working proper till the end of the process. We have referred the configuration from this Link

Main Question is when we are debugging my instance, it is not properly working and not stop on Breakpoints.

Scenario: We have code in our local machine and remotely handle Code and Database on Remote Server (Virtual Machine). Now we want to Debug our Code.

As 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

All are working proper till the end of the process. We have referred the configuration from this Link

Main Question is when we are debugging my instance, it is not properly working and not stop on Breakpoints.

added 98 characters in body
Source Link
Loading
Source Link
Loading