add debug keymap.
fix window switch keymap bug.