updated xdebug code to support ubuntu