support for mono remote debugging
I want to start a Mono application on a Linux machine and debug it remotely on a Windows host. I tested several solutions but nothing worked properly.
Then I installed Rider and launched my application in debug mode ("--debug --debugger-agent=transport=dt_socket,address=0.0.0.0:13001,server=y"). I found no option for Mono remote debugging but I know that Unity supports Mono. Hence, I selected "Run -> Attach to Unity Process..." and entered IP address and port of my Linux host. I'm still very impressed how well Rider works :)
I have no experience with Unity. I don't know if they customize their shipped Mono runtime or if there are any plans to do so in the near future. This means I don't know if Rider will be the right solution for Mono remote debugging on a long-term basis.
Is there any official document which guarantees that Rider
1. can debug Mono applications remotely.
2. will be able to debug Mono applications remotely in the future.
Kind regards,
Sebastian
Please sign in to leave a comment.
Sebastian,
There is no such document at the moment, but you can follow these steps for mono remote debugging:
1. Launch the application in debug mode on the remote machine
2. Open your source code in Rider and create Mono Remote run configuration (Run -> Edit configurations)
3. Run the configuration
Please let me know if you have any questions.