PHP代码审计 IDE工具phpstorm+xdebug配置教程

tech2022-09-13  105

参考教程: PHPStorm怎么配置xdebug工具并使用?(图文+视频教程)

该工具可帮助熟悉代码运行流程,跟踪参数的变化,还方便增加修改代码

附上php.ini中xdebug的配置信息:

[XDebug] xdebug.profiler_output_dir="D:\phpStudy\PHPTutorial\tmp\xdebug" xdebug.trace_output_dir="D:\phpStudy\PHPTutorial\tmp\xdebug" zend_extension="D:\phpStudy\PHPTutorial\php\php-5.6.27-nts\ext\php_xdebug.dll" xdebug.remote_port=19001 xdebug.remote_autostart=1 xdebug.auto_trace=1 xdebug.remote_host=127.0.0.1 xdebug.remote_enable=1

phpstorm中的设置

配置端口 配置地址: 启动调试,点击电话按钮

最新回复(0)