Enh : Debug request before handling it, rewrite debug func
Enh : Add some comment