# Debugging

Displaying a list of runtime variables in the console with the “**List variables for Debug**” rule or alternatively the "**List variables on exit"** rule is a proposed practice for debugging in Tomorrow Software. These rules display the variable list only when “**Debug mode**” is enabled in the configuration.

This helps you control the listing (or not) from the configuration before deployment, which is much easier to manage.

Usage of the “**List variables**” rule should be avoided. An easy way to find any leftover “**List variables**” is to use the “**Document**” button in the configuration and to search for it within the produced PDF.
