What's the difference between debugging and running the debug variant?
<p>In Android Studio, you can "Run" or "Debug" your application using these buttons:</p>

<p><a href="https://i.stack.imgur.com/UozQ6.png" rel="noreferrer"><img src="https://i.stack.imgur.com/UozQ6.png" alt="Run and Debug in Android Studio"></a></p>

<p>Also, you can choose a debug or release build variant in the Build Variants window:</p>

<p><a href="https://i.stack.imgur.com/PALwa.png" rel="noreferrer"><img src="https://i.stack.imgur.com/PALwa.png" alt="Build Variants window"></a></p>

<p>What's the difference between pressing the Debug button and choosing the debug variant, or pressing the Run button and choosing the release variant? Would it make any difference if I debug the debug or the release version?</p>