IDE-1225
IDE-1226
IDE-1018

Fixed the errors occur when adding breakpoints when server is starting and removing the breakpoints and resuming the remote freemarker server when server is stopping.