Build/debug workflow for remote machine

Mar 1, 2015 at 8:36 PM
My current workflow is;
1) Write code with Visual Studio
2) Run deploy script to send code updates to remote machine/restart node process
3) Click 'attach'

This works but it would be nice to reduce step 2 and 3 to a single F5 click.

I attempted to do this with the following steps but failed.
1) Post-build steps copies changed code and restarts the application
2) I reverse proxy port 5858

This kind of works but I can't set break points. I think the problem is the paths on the file names don't match but maybe there is something more fundamental.

Has anyone ever done this? Is it possible?