Adding debug_on_the_fly_decoder
Finalizing the on-the-fly debug