Editted debugmode