cubicweb #345239 ease debugging security and workflow problems [validation pending]

either debugging or writting tests : it is quite frustrating (and slow) to write workflow + security tests

we need to make up something to alleviate the pain maybe different definition of some methods in debug/test mode could be sufficient

typical nodes are in : common/mixins, entities/wfobjs, server/hooks (among which transitions, may_be_passed, etc. could be instrumented, or provide out-of-band condition reporting)

prioritynormal
typeenhancement
done in3.20.0
load left0.000
closed by<not specified>