Fixed issue where PYTHONPATH wasn't properly set for attach to debugger.