added debugger to kite ready event