boot rewrite debug