Enabled optional debug logging if nopg.debug is true