Clean up debugger server

 * Remove perpetual innner while loop
 * Macro to TRACE_DEBUGGER_SERVER