Added onBootstrap event in Debug module.