while working a lot with rules, i felt the need for something like this...

the attached patch would add a action which debugs any given $value by using dpm($value)

CommentFileSizeAuthor
devel_rules_debug.patch644 bytesdasjo

Comments

dasjo’s picture

Status: Active » Needs review
moshe weitzman’s picture

Status: Needs review » Reviewed & tested by the community

Looks good. Feedback welcome before commit.

klausi’s picture

Works nicely. Perhaps we could add a debug function selection (e.g. someone might want to use dd() instead of dpm()), but that could be done in a follow-up.

moshe weitzman’s picture

Status: Reviewed & tested by the community » Fixed

committed

Status: Fixed » Closed (fixed)

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