php.ini配置
zend_extension=xdebug.so
xdebug.remote_autostart=on
xdebug.remote_enable=on
xdebug.remote_host=192.168.0.5
xdebug.remote_port=9000
xdebug.remote_handler=dbgp
xdebug.collect_vars=on
xdebug.collect_return=on
xdebug.collect_params=on
xdebug.profiler_enable=on
xdebug.idekey=PHPSTORM
phpinfo

phpStorm配置



server配置

web application

最后点开电话标记和虫子,打开浏览器之后,控制台只显示

没有在断点停止
Copyright 2014-2026 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
欢迎选择我的课程,让我们一起见证您的进步~~