How to debug redmine on remote server

Added by Daniele Lupo about 4 years ago

I need to use redmine with a plugin, but the plugin gives me an error, without any explanation on the logs. So I want to debug redmine in order to check what the plugin does.

Actually redmine is on a Ubuntu 20.04 server, and I'm using windows on my client (but I can also change if needed).

Is there any way to attach to a remote instance of redmine and debug it?