Accompanying resources for https://www.gee-whiz.de/2018/remote-debugging/
This is not a production ready implementation. Here be dragons!
- Read and understand the linked blog post
- Add a proper server and client frp configuration in their default locations
- The frp client configuration also needs to set
remote_port
to0
to let the server choose an unused port - The frp client configuration needs an
admin_port
to access the server-chosen external port
- The frp client configuration also needs to set
- Implementation in plain groovy
- Use an sshd instead of socat
- Extract socats port exposing functionality in a generic way