Changed the shared solution to ouput only if debug flags are set. Other than that all things are the same when in debug vs normal.