add xdebug support
Merge pull request #51 from mrded/xdebug

add xdebug support