phpstorm + xdebug 实现远程调试
.打印 phpinfo(); 的内容2.把整个页面的内容复制到 http://xdebug.org/wizard.php 这个页面的框里,TA会自动分析你的 php 版本,然后告诉你接下来的操作步骤, 甚至 .so 文件放在哪个文件夹...
一切都是那么简单3.php.ini配置:zend_extension = /alidata/server/php/lib/php/extensions/no-debug-non-zts-20121212/xdebug.so
xdebug.remote_enable=1
xdebug.remote_host=127.0.0.1
xdebug.remote_port=9000
xdebug.idekey=phpstorm10
xdebug.remote_handler = dbgp
xdebug.auto_trace = 1
xdebug.collect_includes = 1
xdebug.collect_params = 1
xdebug.collect_return = 1
xdebug.default_enable = 1
xdebug.collect_assignments = 1
xdebug.collect_vars = 1
xdebug.remote_autostart = 1
xdebug.show_local_vars = 1
xdebug.show_exception_trace = 0
页:
[1]