title: How to debug android library module in Android Studio?
body: <p>I have an Android Studio project which contains a library module, which is added as another gradle project to it. I would like to debug the library code and set breakpoints on it. </p>
  
  <p>What gradle settings should I use, if I want to debug a library module while running the app on emulator or real device ?</p>
  
  <hr>
  
  <p><strong>Update 1</strong></p>
  
  <p>this is the settings.gradle file :</p>
  
  <pre><code>include ':app'
  include':my-library'
  </code></pre>