Fix Token and remote debug.