Adding debug module to extension
Adding events module to extension