Any support remote debugging over ssh?

I love the bash debugger, but AFAICT it only works on the local machine.

Is this available over ssh?

Use case:
Copy a script to a remote machine and step through it.

Remote debugging isn‘t possible yet.
This should be possible to implement with JetBrains‘ new feature called „run targets“. Run targets | IntelliJ IDEA

Does this sound like the right way to do it?

Remote debugging is on the roadmap, but I can‘t promise yet that it‘s going to be 3.0 (2.0 will be out next week)

Joachim