このブログを検索

2013/05/27

NetBeans with git (github) メモ

GitはSVNと違ってRepositoryからダウンロードから始まるものではなかった。
なのでメモ

1. initialize the local git repository.
2. source commit to local git repository.
3. push to remote git(github)

2013/05/17

PHPUnit remote Debugging with NetBeans

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