Added debugger in events controller