Thanks Zambo. I couldn't find a way to set a custom debug key in Eclipse - I'm using IntelliJ but this frustrated me so much I was considering migrating to Eclipse.
I was also using a debug/release flag previously but kept forgetting to change it when I sent the release build out for testing.