Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/google-cloud-platform/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
PHPunit和netbeans调试未在断点处停止_Netbeans_Phpunit_Xdebug - Fatal编程技术网

PHPunit和netbeans调试未在断点处停止

PHPunit和netbeans调试未在断点处停止,netbeans,phpunit,xdebug,Netbeans,Phpunit,Xdebug,我正在尝试调试netbeans中的一些PHPunit测试,但它并没有在我的断点处停止 但是,我可以在浏览器中调试站点,它会在断点处停止 我已将文件->项目属性->运行配置->高级修改为“不打开web浏览器” 我使用以下脚本启动phpunit: export XDEBUG_CONFIG="idekey=netbeans-xdebug"; phpunit $@ 有什么问题吗 顺便说一句,我以前让它工作过,但它停止工作了,我不得不重新安装xdebug。我正在使用Ubuntu11.10 谢谢。当您的端

我正在尝试调试netbeans中的一些PHPunit测试,但它并没有在我的断点处停止

但是,我可以在浏览器中调试站点,它会在断点处停止

我已将文件->项目属性->运行配置->高级修改为“不打开web浏览器”

我使用以下脚本启动phpunit:

export XDEBUG_CONFIG="idekey=netbeans-xdebug";
phpunit $@
有什么问题吗

顺便说一句,我以前让它工作过,但它停止工作了,我不得不重新安装xdebug。我正在使用Ubuntu11.10


谢谢。

当您的端口未设置为在xdebug的默认侦听器端口9000上侦听时,通常会发生这种情况

这里有一些关于mac for netbeans的说明,但即使您运行的是windows,它也应该能做到这一点