问题
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