KG|PM: add preventDefault when debugging