What is the current workflow to debug Travis builds locally?

One way to inspect the build (not to debug, sorry) is to send the build logs to another server on failure. Here is an example: after_failure – sudo tar -czf /tmp/build-${TRAVIS_BUILD_NUMBER}-logs.tgz your-application-logs/ – scp /tmp/build-${TRAVIS_BUILD_NUMBER}-logs.tgz travis@your-server.com:~/logs You could send them via email, store them on a storage server or whatever. These logs would be useful … Read more

Inno Setup: How to watch variables values or write to debug output?

There’s currently no debug watch window, but you can simply hover the variable you want to inspect, when the debugger is stopped on a breakpoint. To print something to a debug output, use the Log procedure: procedure InitializeWizard; var Value: Integer; begin Value := 123; Log(‘The Value is: ‘ + IntToStr(Value)); end; Here is the … Read more

How to debug Ansible issues?

Debugging modules The most basic way is to run ansible/ansible-playbook with an increased verbosity level by adding -vvv to the execution line. The most thorough way for the modules written in Python (Linux/Unix) is to run ansible/ansible-playbook with an environment variable ANSIBLE_KEEP_REMOTE_FILES set to 1 (on the control machine). It causes Ansible to leave the … Read more