It is possible to activate debug capabilites for inexorgame/code using the following steps:

  1. Get an API token using the Travis CLI
  2. Send a POST request to the Travis API replacing TOKEN and JOB_ID in below script (save as
  3. Fire it up with chmod u+x, ./
  4. Head back to the web UI and in the log of your job. you should see the following lines to connect to the VM:
  5. Connect from your computer using SSH into the interactive session, and once you're done, just type exit and your build will terminate.
Setting up debug tools.
Preparing debug sessions.
Use the following SSH command to access the interactive debugging environment:

Here's the code for

#! /usr/bin/env bash
curl -s -X POST \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -H "Travis-API-Version: 3" \
  -H "Authorization: token <TOKEN>" \
  -d '{ "quiet": true }' \<JOB_ID>/debug