DEBUG mode for drone/agent?

Hi, currently i have a problem where any jobs from a repo ends with a segfault. It only happens with one repo and have no idea on how to troubleshoot.

I went to set DRONE_LOGS_DEBUG=true on the agent but i got no extra logging. Any ideas? i am using 1.0.0-rc.5 From a clean install.

{"arch":"amd64","build":3,"error":"runtime error: invalid memory address or nil pointer dereference","level":"error","machine":"agent-sip3b5xsh9lfveeyfs2sgjlav","msg":"runner: unexpected panic","os":"linux","pipeline":"default","repo":"codestation/test","stage":1,"time":"2019-01-24T19:08:38Z"}