What is the underlying problem that has given rise to this requirement?
You might be able to fix your triggers by creating a stored proc or function that does the logic part of the work and unit-test debugging that?