renamed `debug` to `debug_fn`, added `autoDelete:false` to exchange declarations