Must-Use Plugin: ray-loader.php
Location: _project/_web/wp-content/mu-plugins/ray-loader.php
Purpose
Loads the WordPress Ray debugging tool from mu-plugins/wordpress-ray/wp-ray.php.
Usage
Ray provides a visual debugger for PHP. Use in development:
php
ray($variable); // Send variable to Ray app
ray()->showQueries(); // Show database queries
ray()->measure(); // Measure execution timeControlled by WP_ENVIRONMENT_TYPE constant — should be local for Ray to be active.
Important
Ray should not be active in production. Ensure WP_ENVIRONMENT_TYPE is not set to local in production wp-config.php.