anchor.diff:        ]).timeout(
           quitTimeout,
           onTimeout: () {
  -          debugPrint('app.detach did not return within $quitTimeout');
  +          _debugPrint('app.detach did not return within $quitTimeout');
           },
         );
         _currentRunningAppId = null;
       }
  -    debugPrint('Waiting for process to end');
  +    _debugPrint('Waiting for process to end');
       return proc.exitCode.timeout(quitTimeout, onTimeout: killGracefully);
     }
   
     Future<int> stop() async {
       if (vmService != null) {
  -      debugPrint('Closing VM service');
  +      _debugPrint('Closing VM service');
         await vmService.dispose();
       }
       if (_currentRunningAppId != null) {
  -      debugPrint('Stopping app');
  +      _debugPrint('Stopping app');
         await Future.any<void>(<Future<void>>[
           proc.exitCode,
           _sendRequest(
  
positive.code: 
    Future<int> detach() async {
      if (vmService != null) {
        debugPrint('Closing VM service');
        await vmService.dispose();
      }
      if (_currentRunningAppId != null) {
        debugPrint('Detaching from app');
        await Future.any<void>(<Future<void>>[
          proc.exitCode,
          _sendRequest(
  
negative.code:     stderrController.stream.listen(errorBuffer.writeln);
  
      // This is just debug printing to aid running/debugging tests locally.
      stdoutController.stream.listen(_debugPrint);
      stderrController.stream.listen(_debugPrint);
    }
  
    Future<int> killGracefully() async {
      if (procPid == null) {
        return -1;
      }
      _debugPrint('Sending SIGTERM to $procPid..');
      Process.killPid(procPid);
      return proc.exitCode.timeout(quitTimeout, onTimeout: _killForcefully);
    }
  
    Future<int> _killForcefully() {
      _debugPrint('Sending SIGKILL to $procPid..');
      Process.killPid(procPid, ProcessSignal.sigkill);
      return proc.exitCode;
    }
  