Error after deploying asp.net core app to azure
<p>After deploying my asp.net core app to azure for the first time and ran it, I got the following error:</p>

<blockquote>
  <p>Error. An error occurred while processing your request. Development
  Mode Swapping to Development environment will display more detailed
  information about the error that occurred.</p>
  
  <p>Development environment should not be enabled in deployed
  applications, as it can result in sensitive information from
  exceptions being displayed to end users. For local debugging,
  development environment can be enabled by setting the
  ASPNETCORE_ENVIRONMENT environment variable to Development, and
  restarting the application.</p>
</blockquote>

<p>Please note that I tried debug and release mode when publishing in visual studio and I made sure that I chose the default migration and have the connection string as well.
If possible, can you tell me how to enable development mode as shown or explain the error further?
Thank you</p>

<p>Edit: As per the suggestion I received I found the following in cloud explorer log:</p>

<blockquote>
  <p>Msvsmon was unable to start a server named '127.0.0.1:50867'. The
  following error occurred: An instance of the remote debugger is
  already running on this computer, or another process is already bound
  to the specified TCP/IP port.</p>
</blockquote>