Open bixu opened 3 years ago
The maintainers might be open to this (it doesn't seem terribly unreasonable).
Note that there are ways that should work today:
I haven't tried any of these. I ran across someone offering a tunnel for GHA recently. I'm still trying to get my action to basically work in act, let alone fancy stuff.
Do note that you can run docker exec
to connect to the running container, so you could probably bolt something on using some local nc
s too.
@calleb-sumup
After going through a large debugging adventure with some actions today, adding this feature would be a big win for my developer experience in order to be able to connect a remote debugger to my test suite through TCP.
Port publishing similar to Docker's
--publish
flagHere's a specific use-case from my org: we run a JUnit test suite in GH Actions, and were trying to debug an issue with suite using Act, but this was difficult because the JVM remote debugger listens on a port inside the Act container and wasn't easily accessible to our dev toolset. If the maintainers would be open to adding port publishing with a flag like
--publish
(following Docker conventions), we'd might be able to open a PR around this.CC: @olga-casian