Added sidebar warning if in debug or testing