Only set debug=true in compiler Config if launching in debug mode.