Enabling Debug Mode

Debug mode is a useful feature for WordPress development and troubleshooting, and it is enabled by default in Shifter-local, a local development environment.

The official WordPress documentation explains that you need to modify wp-config.php to enable this feature.In a Shifter environment, starting WordPress in Emergency User mode automatically enables debug mode.

Steps to Enable Debug Mode

1. On the Shifter dashboard, click “Development Environment” in the left-hand side menu.

2. From the menu that appears, click “Troubleshooting.”

3. Scroll down to the “Emergency Actions” section.

4. Click “Launch Container as Emergency User.”

5. Log in to the WordPress dashboard using the username and password provided.

How to Check the Status

Installing the Debug Status display or other debugging plugins Once installed and activated, “WP_DEBUG” will appear at the very bottom of the dashboard, allowing you to check the status.

Important Notes

Shifter’s WordPress instance can be used for up to 180 consecutive minutes while you’re actively working on it; if no activity is detected, it will automatically stop after 15 minutes. Debug mode is only active during this session and will be disabled if WordPress is stopped or restarted.

That concludes the instructions for enabling debug mode.