reference site :
http://blog.doh.ms/2011/05/13/debugging-phpunit-tests-in-netbeans-with-xdebug/
1. need to path-mapping at NetBeans(IDE)
2. must export below before phpunit
3. and run phpunit with --debug option.
<TroubleShooting>
1. error message "E: Could not connect to client. :-("
- check nmap -p 9000 192.168.56.1
if closed, re-run netbeans.
http://pietervogelaar.nl/php-xdebug-netbeans-vagrant/#.UZX14yvOS3o
http://blog.doh.ms/2011/05/13/debugging-phpunit-tests-in-netbeans-with-xdebug/
1. need to path-mapping at NetBeans(IDE)
2. must export below before phpunit
export XDEBUG_CONFIG="idekey=netbeans-xdebug
"
3. and run phpunit with --debug option.
<TroubleShooting>
1. error message "E: Could not connect to client. :-("
- check nmap -p 9000 192.168.56.1
if closed, re-run netbeans.
http://pietervogelaar.nl/php-xdebug-netbeans-vagrant/#.UZX14yvOS3o
0 件のコメント:
コメントを投稿