In the course of the site's testing phase, it may be useful to see what happens during a user's purchase. The debug tool records such transactions and the paths taken through the process of buying a resource or license.
When on site's debug mode, a log file is also populated and can be found under your site's log folder.