woodpecker/docs/blog/2023-12-13-debug-pipeline-s.../index.md

729 B

title description slug authors hide_table_of_contents tags
[Community] Debug pipeline steps Debug pipeline steps using sshx debug-pipeline-steps
name url image_url
anbraten https://github.com/anbraten https://github.com/anbraten.png
true
community
debug

Sometimes you want to debug a pipeline. Therefore I recently discovered: https://github.com/ekzhang/sshx

A simple step like should allow you to debug:

steps:
  - name: debug
    image: alpine
    commands:
      - curl -sSf https://sshx.io/get | sh && sshx
      #      ^
      #      └ This will open a remote terminal session and print the URL. It
      #        should take under a second.