add in a debug page, really useful for payments
Merge pull request #1946 from andymckay/better-debug-page

add in a debug page, really useful for payments