Added spec and removed debugger var