Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8378237
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T15:53:06+00:00 2026-06-09T15:53:06+00:00

Is there any way to remotely upload, run and debug an application on another

  • 0

Is there any way to remotely upload, run and debug an application on another computer?

I know you can attach the Visual Studio Remote Debugger to an application running on a remote computer, but I’m looking for a completely automated way of doing it.

I’m building a home automation system, and it would be AWESOME if I could get some kind of plugin to visual studio which would let me hit F5 in VS and then the application would just build as normal and be sent to my server PC and run there (with remote debugging attached).

The problem is that my laptop don’t have all the hardware that my server PC has. I can connect it manually to my laptop but the be honest, that is gonna get boring after doing it 2 – 3 times… Also, the Serial port names and some of the other hardware related stuff is different between the two computers. So that means I have different configurations, for each system.

Last but not least, I would almost call it the most important thing haha:
I wan’t to be able to lay down in my bed and code, or sit in the living room eating pizza, while debugging my home automation. Right now I’m tied to my desk by 3 USB cables, an audio cable and a HDMI cable going to my TV… That’s kinda messed up.

The remote debugging exists… We have uploaded files for at least 10 years now… We have had programs run other programs before… Please tell me someone have invented this system!!!

Btw. I’m fine with interacting with the application over Teamviewer. I just don’t want to have to go through the “F5 -> Teamviewer -> Do stuff on local pc -> Do stuff on remote pc -> Test software -> Find bugs -> Repeat” process.

It would be nice if I could just log in and the program was already up and running. Also If I could make the STOP button stop the software on the remote PC it would be fantastic, and I might even consider sending a six-pack full of beer to the guy who made it possible haha.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T15:53:07+00:00Added an answer on June 9, 2026 at 3:53 pm

    I’m not aware such a product exists however there are a number of things you can do to make the mundane tasks much easier.

    1) Change your Start action from Start Project to Start External Program

    enter image description here

    In run_remote_process.bat you add scripts that

    a) copy your binaries to your remote/server PC
    b) use remcom to start your process on the remote machine

    Now for the coding bit: add this to your Main entry method:

    public static void Main(string[] args)
    {
        if(args.Any(arg=>arg=="debug"))
        {
            while (!Debugger.IsAttached)
            {
                Thread.Sleep(100);
            }
            Debugger.Break(); 
        }
    }
    

    make sure you pass the debug argument when starting your process. This will hang your process until you attach to it.

    So now all you are left to do is Attach to Process using Visual Studio. You can use keyboard shortcuts to do this quickly:

    Alt-D, P (press enter) Then press the letter of your process to scroll to it (Enter)

    and away you go!

    Not ideal but much better than many manual steps.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is there any way in Notepad++ (or even with another tool) to change the
Is there any way I can set a formatter on models that will convert
Is there any way we can fetch X509 Public Cetrificates using c# from AD
Is there any way to stop animation in iOS 3 ? I know about:
Is there any way in which I can automatically convert a Custom Class Object
Is there any way to ignore a directory when you push remotely? The catch
Is there any way to register for Google Apps remotely (i.e. with an API),
Is there any way to create a file using sharpsvn remotely? I mean without
Is there any way to use Google's API to retrieve a user's current zipcode
Is there any way to overload the > (greater than) operator, to be able

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.