Skip to content

3dGrabber/RiderRemoteDebug

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

Contributions are welcome!

RiderRemoteDebug

One-click deploy and debug a .Net executable on a remote machine (almost).

Remote debugging with Rider is possible, but cumbersome. You need to manually upload the binaries, run them and then attach your local debugger to the remote process.
The goal of this project is to be able to just hit alt-F5 and start debugging.

This Bash script does the following:

  • upload the binaries to the remote server (efficiently via rsync)
  • open an ssh tunnel (no need for port forwarding and whatnot)
  • start and connect the remote debuggee to the local IDE

Setup

  • Copy the script into the root of your project
  • Adjust settings, line 3 to 7
  • Create a run configuration for the script
  • Create a "Mono Remote" debug configuration (port number must match, check "Listen for incoming connections")

Debug

  1. Run "Mono Remote"
  2. Run "RiderRemoteDebug"

Possible Improvements

  • find a way to run "Mono Remote" & "RiderRemoteDebug" at once
  • .Net Core support
  • create a standalone Run configuration with UI to fill in remote_host, remote_path etc.
  • Windows support (rsync?)
  • support for ssh key files/passwords
  • integrate with Rider's Debugger/Remote debug
  • when the session is aborted locally, the remote debug session stays alive, waiting. Find a way to avoid that.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages