Add debug flag so that a debugging session can be started with "gradle -DDEBUG=true run"