Home ›
Debugging PHPUnit integration tests, run from the command line, in NetbeansDebugging PHPUnit integration tests, run from the command line, in Netbeans
Submitted by Benjamin Melançon on February 22, 2016 - 1:32pm
Step 0: Set a breakpoint in the test
Step 1: Start Netbeans debugging
Step 2: Do these two command lines from your virtual machine at /vagrant, where 'testSomeResults' is a specific function in one of your tests/integration/ files.
export XDEBUG_CONFIG='idekey=netbeans-xdebug' phpunit --bootstrap tests/bootstrap.php --filter testSomeResults tests/integration/
Comments
Post new comment