Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

rawdebug

Security covered Under active development 14 sites

rawdebug provides low-level debugging functions to examine variables and get stack traces, even when your site is not functioning correctly. It's a set of PHP functions that can be included in your site's settings without requiring a full module installation.

Low-level debugging functions that can be used even if your site isn't working at all. Examine variables and get a stack trace. This is mostly just code, not a module. It has no dependencies.

Features

There's no need to install or enable this module, but if you do you'll get some help text. Enabling the module will also define the rawdebug functions if they aren't defined, but it's best to include the rawdebug.php file from settings.php so it can be used even if modules aren't loading.

Instead, simply click a release below, download the .zip or .tar.gz file, and extract that to a temp directory. Then, see README.md for the instructions. As described there, setting this up involves copying a file and editing settings.php.

After setting it up, you'll have three new debug functions available. For example, this will write a string, a variable, and a stack trace to a log file:

rawdebug('safe_tokens', $val, dbt());

See rawdebug.php for more information.

Notes

This is only meant to be installed on dev sites that are not publicly-available. Setting this up on a public website is not recommended.

Drupal 9–11

Ask your assistant about rawdebug

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
3
Tracked since
Jul 2023
Latest release
9 months ago
Releases (12 mo)
1
Maintenance
Active

Release Timeline

Releases

Version Type Core PHP Release date
1.0.1 Stable 9–11 Jan 1, 2026
1.0.0 Stable 9–11 Oct 3, 2025
1.0.x-dev Dev 9–11 Jul 13, 2023