title: Set GPS location in Android Studio while debugging app
body: <p>(Preface: I have already seen <a href="https://stackoverflow.com/questions/18972114/set-gps-location-in-emulator-using-android-studio">this question</a>, but it doesn't address setting the location while debugging the app.  Opening "Android Device Monitor" closes the ADB connection to the debugger itself.)</p>
  
  <p>I am trying to debug an application that monitors for location changes.  The issue that I have is that I can't figure out how to run the debugger and set the location using <code>adb geo fix ...</code> at the same time.</p>
  
  <p>I have tried running the command in the Android Studio "Debug" -> "Console" tab, but it doesn't seem to do anything.</p>
  
  <p>How can I set the location while still remaining connected in the debugger?</p>