Visual Studio -Troubleshooting and updating variable in code (production environment)

Melanie Tham 0 Reputation points
2025-10-20T23:16:09.72+00:00

Hi there,

Seeking some advice on optional tools to do troubleshooting on production server and also to update environment variables in our code since Visual Studio cannot be installed on production environment.

Thanks,

Melanie

Developer technologies | Visual Studio | Debugging
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Susmitha T (INFOSYS LIMITED) 755 Reputation points Microsoft External Staff
    2025-10-21T06:40:57.72+00:00

    Thanks for reaching out!

     
    It sounds like you're looking for some tools to troubleshoot and update environment variables on a production server without the option to install Visual Studio. Here are a few suggestions:

    1. Remote Debugging: While Visual Studio can't be installed on the production environment, you can use the remote debugging feature. This allows you to debug an application running on a different machine. You'll need to enable remote debugging in Azure and ensure the firewall allows the necessary ports (typically port 4024). Here's a helpful guide on Remote Debugging Azure Web Apps.
    2. Visual Studio Code: If you can use Visual Studio Code on another machine (not directly on the server), you can connect to your Azure resources and perform some debugging tasks remotely. It's lightweight and offers many useful extensions.
      Here's a https://free.blessedness.top/en-us/azure/logic-apps/create-standard-workflows-visual-studio-code to get started.
    3. Environment Variables Update: For updating environment variables without Visual Studio, consider using the Azure Portal or Azure CLI commands. In the Azure Portal, navigate to your Function App -> Configuration -> Application settings. You can add or update environment variables (app settings) here directly.
    4. Diagnostics Tools: Leverage diagnostic tools in Azure like Application Insights to monitor and troubleshoot issues in your application. You can integrate it with your application to get telemetry data and error logs, which help you understand the application's behavior in production. More info can be found https://free.blessedness.top/en-us/azure/azure-monitor/app/app-insights-overview

    If you have specific requirements or constraints regarding the tools or methods, feel free to provide more details.

     

     

    Let me know if you need any further help with this. I will be happy to assist.

    If you find this helpful, please click "Accepted answer".


  2. Melanie Tham 0 Reputation points
    2025-10-23T05:34:55.09+00:00

    Hi Susmitha and Bruce,

    The App is hosted on an AWS cloud instance, access to which is controlled via our internal AD group membership. Example of some of the updates we make using the app is to SQL Server database.

    Hope this information is sufficient.

    Thank you.


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.