Debugging applications on a server