Flywheel locks wp-config.php and does not allow direct edits. This affects how WP Debug Toolkit (WPDT) manages debug constants, but all other features work without issues.
Flywheel auto-generates wp-config.php and prevents modifications. You cannot edit it directly via SFTP or through plugins. Flywheel provides their own controls for settings that would normally go in wp-config.php.
For details on Flywheel’s policy, see Flywheel: wp-config.php file edits.
WPDT cannot toggle WP_DEBUG, WP_DEBUG_LOG, or WP_DEBUG_DISPLAY on Flywheel because it cannot write to wp-config.php. Instead, use Flywheel’s built-in debug toggle:
For step-by-step instructions, see Flywheel: How do I turn on WP_DEBUG?.
After enabling debug mode through Flywheel, WPDT can read the debug log and display it in the standalone viewer.
These WPDT features do not depend on wp-config.php write access:
wp-config.phpdebug.log, does not require config writeswp-content/uploads/, not wp-config.phpwp dbtk debug on/off work normallywp dbtk debug on/off all attempt to write to wp-config.php. On Flywheel, these fail. Use the Flywheel dashboard instead.WPDT includes automatic permission elevation for hosts with restrictive file permissions (see Permission elevation). This feature temporarily changes file permissions to make wp-config.php writable, writes the changes, and restores the original permissions.
On Flywheel, this does not work. Flywheel’s lockdown is at the platform level, not a file permission issue that can be resolved with chmod.