/bin/bash killed - how to get more verbose output?

I see the following at the end of a failed job on GitLab CI:
/bin/bash: line 142: 90 Killed python Py/main.py

How can I debug this, or get a more detailed explanation of why it was killed?