Added Debug some debug outputs.