I'm trying to figure out how to determine in code whether I'm in debug mode or not. Basically I've got 2 different configurations that I want to run based on whether I'm in debug mode or not. Basically like this...
if DEBUG:
a = 1
else:
a = 2
Is it something in Run > Edit Configurations? I can't quite figure it out.