title: How to enable remote debugging in Azure Cloud Service package built by MSBuild
body: <p>I'm building <code>ccproj</code> project directly by MSBuild (within TeamCity):</p>
  
  <pre><code>msbuild Project.Azure.ccproj /p:Configuration=Debug /t:Publish
  </code></pre>
  
  <p>How to enable remote debugger? Like in the UI:</p>
  
  <p><img src="https://i.stack.imgur.com/DHueg.png" alt="enter image description here"></p>