开发者

How do you debug a PHP test file in Netbeans?

开发者 https://www.devze.com 2023-02-21 19:26 出处:网络
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.

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.


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消