Question: How can I debug a travis job?


Does anyone know how to debug travis job?
I face an issue which could only happen on travis cloud (, is there anyway for me to print some value of the variables in travis’ log?

I notice there is so called “debug mode” but I cannot see “Debug job” or “Debug build” options available for me.



For debug printing, use appropriate facilities of the language that the corresponding logic is written in.

Hi @native-api,

Thanks for your help! but seem the debug mode doesn’t support ARM, while the issue I am hoping to solve is some failure testcases on ARM,

/home/travis/.debug/ line 42: /home/travis/.debug/tmate: cannot execute binary file: Exec format error 


At the moment, we are unable to offer debug builds for ARM and POWER jobs. See

for more details.

1 Like