title: check android auto app log messages while connected to car
body: <p>I have a question on checking logs/debugging of android auto app when the mobile device is connected to the main Head Unit (car).</p>
  
  <p>During apk installation on the Mobile device from the development machine 
  using Android Studio, the logs can to checked using adb (Android Debug Bridge).
  Since it is a development machine, the calls does not go into functions like <em>onCarConnectionCallbacks</em>.</p>
  
  <p>So tried using DHU (Desktop Head Unit), but DHU is connected using adb forward socket connection, How to check for app log messages simultaneously?</p>
  
  <p>And also how to check log messages or debug the app, when it is connected to the main Head Unit (Car), Should the adb be installed? (Here the mobile is not on development mode).</p>
  
  <p>I am not able to find convincing answers online.
  Please give your view on this.
  Thanks</p>