Contextualized debug mode activation