跳转到主内容
websoft网络软件专家 - 深耕网络技术,打造实用软件!

vs.php + wamp + vs2008 调试PHP

WAMP 已经含xdebug了,就不需要到网上下载了,只要稍微修改一下配置就可以调试了找到下面这行zend_extension = "d:/wamp/bin/php/php5.3.13/zend_ext/php_xdebug-2.2.0-5.3-vc9.dll"然后粘贴这个配置上去立即学习“PHP免费学习笔记(深入)

”;

[xdebug];这里VS.php 要写对,不然无法调试xdebug.idekey = VS.php xdebug.remote_autostart = 1 xdebug.remote_port = 7870 xdebug.auto_trace = On xdebug.show_exception_trace = On xdebug.remote_enable = On xdebug.profiler_enable = On xdebug.profiler_enable_trigger = On xdebug.profiler_output_name = cachegrind.out.%t.%p xdebug.profiler_output_dir = "d:/wamp/tmp"然后,用 vs2008 新建 php项目进行测试,项目属性为 external -> startpage->xdebug就可以设置断点调试php项目了

相关文章