A common technique I use to work out additional debug information for DotNetNuke modules is to log information to the event log (found at admin -> log viewer).
[Read the rest of this article...]