How do you debug a PHP test file in Netbeans?

大城市里の小女人 提交于 2020-01-02 23:00:49

问题


The menu option is disabled for me. I can test ok and I can debug ok, just not both together. Is it possible, or is the menu option disabled because it isn't implemented for PHP.

I'm hoping I don't need to go through the "Create Test files" procedure to enable it as I create the test files myself, rather than letting netbeans do it.


回答1:


You should be able to debug the *Test.php files individually as you would the normal project. There's also a setting (at least in NetBeans 7.0) on the project's PHPUnit properties page that tells NB to run all files ending in Test.php as PHPUnit tests.



来源:https://stackoverflow.com/questions/5521694/how-do-you-debug-a-php-test-file-in-netbeans

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!