modification to debug on a remote server