Skip to content
play

GitHub Action

Debugging with tmate

v1.0.0 Latest version
Use latest version
play

Debugging with tmate

Debug your GitHub Actions Environment

Installation

Copy and paste the following snippet into your .yml file.

- name: Debugging with tmate
  uses: mxschmitt/action-tmate@v1.0.0
Learn more about this action in mxschmitt/action-tmate
Choose a version

Debug your GitHub Actions by using tmate

This GitHub Action offers you a direct way to interact with the host system on which the actual scripts (Actions) will run.

Getting Started

By using this minimal example a tmate session will be created.

name: CI
on: [push]
jobs:
  build:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v1
    - name: Setup tmate session
      uses: mxschmitt/action-tmate@v1

To get the connection string, just open the Checks tab in your Pull Request and scroll to the bottom. There you can connect either directly per SSH or via a web based terminal.

alt text

You can’t perform that action at this time.