After the installation configuration succeeds Xdebug, the breakpoint is not entered at the time of debugging, but what's going on?
I configured the start address here, the corresponding breakpoint in the program
But when the program executes to the breakpoint position, it doesn't stop entering the breakpoint.
Reply content:
After the installation configuration succeeds Xdebug, the breakpoint is not entered at the time of debugging, but what's going on?
I configured the start address here, the corresponding breakpoint in the program
But when the program executes to the breakpoint position, it doesn't stop entering the breakpoint.
Here's a simple way to configure:
PHP Configuration
#开启远程调试xdebug.remote_enable = 1 xdebug.remote_handler = "dbgp"xdebug.remote_host = "127.0.0.1"#这个端口不占用phpfpm 的9000,换用另一个,一定要和上面phpstrom配置中的端口一致xdebug.remote_port=9001#开启自动开始调试xdebug.remote_autostart=1zend_extension=xdebug.so
Phpstrom Configuration
File---Settings--Languages & Frameworks----PHP--Debug
Xdebug Block
The debug port value is the same as the first port 9001
Open and Close debugging
Phpstrom options: Run--and (Run/stop) Listening for PHP debug connections[icon is a small bug in the lower right corner of the green phone microphone, near the top corner of the minimized button by default also has a quick access icon], This is the button that turns off debugging.