kevin-morgan / debugger-action

Interactive Debugger for GitHub Actions with tmate.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Action Debugger

Interactive Debugger for GitHub Actions with tmate.io

Usage

steps:
- name: Setup Debug Session
  uses: kevin-morgan/debugger-action@master

In the log for the action you will see:

To connect to this session copy-n-paste the following into a terminal or browser:

ssh CvyVuUcuEhGmqdHzFfcfRPCus@nyc1.tmate.io

https://tmate.io/t/CvyVuUcuEhGmqdHzFfcfRPCus

TIPS: This message is displayed 3 times, every 30 seconds.

Simply follow the instructions and copy the ssh command into your terminal to create an ssh connection the running instance. The session will close immedeatly after closing the ssh connection to the running instance.

There is a global timeout after 30 minutes. This will close any open ssh sessions. To prevent the session from being terminated run:

touch /tmp/keepalive

Acknowledgments

License

The action and associated scripts and documentation in this project are released under the MIT License.

About

Interactive Debugger for GitHub Actions with tmate.io

License:MIT License


Languages

Language:Shell 74.4%Language:JavaScript 25.6%