code: public synchronized DebugServer startDebugServer(int port, int maxClients) {
          if (mDebugServer != null) {
              Log.e(TAG, "Debug server has already been started.");
              return mDebugServer;
          }
  
          mDebugServer = new DebugServer(this, port, maxClients);
          Threads.spawn(mDebugServer);
          return mDebugServer;
      }
docs: Start a debug server on a specified TCP/IP port, allowing a specified number
  of concurrent clients.
  
  @param port
  The port number for the TCP/IP server.
  @param maxClients
  The maximum number of concurrent clients.