After xdebug is successfully installed and configured, the breakpoint is not enabled during debugging. what is the problem? I have configured the starting address here and placed the corresponding breakpoint in the program. but when the program is executed to the breakpoint position, it does not stop entering the breakpoint. what is the problem?
After xdebug is successfully installed and configured, the breakpoint is not enabled during debugging. what is the problem?
I have configured the starting address here and placed the corresponding breakpoint in the program.
However, when the program is executed to the breakpoint location, it does not stop entering the breakpoint. why?
Reply content:
After xdebug is successfully installed and configured, the breakpoint is not enabled during debugging. what is the problem?
I have configured the starting address here and placed the corresponding breakpoint in the program.
However, when the program is executed to the breakpoint location, it does not stop entering the breakpoint. why?
Here is a simple configuration method:
Php configuration
# Enable remote debugging xdebug. remote_enable = 1 xdebug. remote_handler = "dbgp" xdebug. remote_host = "127.0.0.1" # This port does not occupy 9000 of phpfpm. if you use another port, make sure it is consistent with the Port configured in phpstrom. remote_port = 9001 # enable automatic start debugging xdebug. remote_autostart = 1zend_extension = xdebug. so
Phpstrom configuration
File --> Settings --> ages & Frameworks-> PHP --> Debug
Xdebug block
The debug port value is 9001 consistent with the first port
Enable and disable debugging