Would be super useful to have a way to toggle on/off ALL context reaction debug.

Then when solving problems in dev it would be simple to get lots of great output, as well as easily confirm all debugging is off when taking sites live.

CommentFileSizeAuthor
#3 context-1220464-3.patch1.27 KBjwhat
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

doublejosh’s picture

drush context debug-all

rgracia’s picture

This would be an amazing feature for version 7. Should I create an issue for that version?

jwhat’s picture

Version: 6.x-3.0-rc2 » 7.x-3.x-dev
Assigned: Unassigned » jwhat
Status: Active » Needs review
FileSize
1.27 KB

Added a settings config in context_reaction_debug.inc for "Enable debug reaction on all contexts".
To enable via drush: drush vset context_reaction_debug_enable_global 1
To disable via drush: drush vset context_reaction_debug_enable_global 0

oknate’s picture

Status: Needs review » Reviewed & tested by the community

Tested the patch above and it worked correctly. Nice improvement.

anpolimus’s picture

Tested locally - everything is working correctly.

doublejosh’s picture

Awesome! Feeling silly how easy this was to add, should have just done it :) THANK YOU @jwhat

iamEAP’s picture

Assigned: jwhat » Unassigned

+1 RTBC. Moving back to anonymous assignment.

rgracia’s picture

Tested locally successfully.

bjcone’s picture

Implemented the patch from 3 against 7.x-3.1 successfully. Incredibly useful. Thanks for this.

colan’s picture

Issue summary: View changes
Status: Reviewed & tested by the community » Fixed

Committed in fc68156.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.