php 开启debug 模式
查看PHP是否开启了xdebug模式
php配置文件
;[xdebug]
;zend_extension=php_xdebug.dll
;xdebug.profiler_output_dir ="F:\Windows\Windows_sarver\phpStudy_64\Extensions\tmp\xdebug"
;xdebug.trace_output_dir ="F:\Windows\Windows_sarver\phpStudy_64\Extensions\tmp\xdebug"
//端口
;xdebug.remote_port=9000
//远程自动启动
;xdebug.remote_autostart=1
//自动跟踪
;xdebug.auto_trace=1
//远程主机IP地址
;xdebug.remote_host = "localhost"
//远程开启
;xdebug.remote_enable = 1
;xdebug.remote_handler=dbgp
;xdebug.remote_connect_back=0
;xdebug.idekey = PHPSTORM
phpstorm设置端口
测试debug
-
开启监听
2. 打入断点
访问将要测试的页面 (04.php)
3.快捷键
鼠标放上去可以查看快捷键
了解什么是特征以及如何使用它们的最好方法是观察它们的本质

浙公网安备 33010602011771号