GF_DEBUG

Description

This constant helps debugging problems with AJAX forms by allowing the contents of the AJAX iframe to be viewed. Set the constant to true to display the contents.

Note: To load the non-minified versions of Gravity Forms legacy scripts and styles for debugging purposes, you can enable SCRIPT_DEBUG. Legacy files are those located in /gravityforms/css/ and /gravityforms/js/. New files are located in /gravityforms/assets/, and don’t have non-minified versions.

Usage

define( 'GF_DEBUG', true );

Placement

This constant should be set in your wp-config.php. See the article WP Config Options for more details.