Command Line Example
The CI Debugger can be used from non-CI machines. For example your local terminal or any machine under your control.
Your machine needs to have the following tools installed:
You will need to have ports open for:
In order for the CI Debugger to communicate with the trunk web app, it needs to be able to authenticate from the GitHub Action instance to the trunk web application.
Here is an example command of running the debugger directly from any command line. Replace the three values in the example with the ones specific to your setup. In this example we are downloading the trunk tool and then running the '/bin/false' command which will immediately fail and trigger a breakpoint.
curl https://get.trunk.io -fsSL | bash -s -- -y
export TRUNK_TOKEN=<Insert your API key >
trunk breakpoint --org=<INSERT YOUR ORG NAME HERE > --id=<Breakpoint Name > -- /bin/false