Alzabo::Debug(3pm)
β¨ Alzabo::Debug β¨
okay so bestie, this is Alzabo::Debug β it's the little module that makes the constants everyone else in Alzabo peeks at to figure out whether they should be yapping debug output or not π«Ά
It lives in the User Contributed Perl Documentation section, and yes, it's a Perl thing. π
πΈ SYNOPSIS πΈ
export ALZABO_DEBUG='SQL|TRACE'
... load and run code using Alzabo ...
export ALZABO_DEBUG=METHODMAKER
... load and run code using Alzabo ...
like. that's it. that's the whole vibe. set the env var, load your code, watch the chaos. π¦
π DESCRIPTION π
This module creates constants used by other modules in order to determine what debugging output should be generated.
heads up bestie: the interface is currently experimental. so like. don't build your whole personality on it being stable, okay? π
π USAGE π
Currently, the only way to turn on debugging is by setting the ALZABO_DEBUG environment variable. This variable can contain various flags, each separated by a pipe char (|). Each flag turns on different types of debugging output. π
CRUCIAL: these flags must be set before Alzabo is loaded, because debugging gets turned on or off through the use of constants. so if you set it late, it's giving nothing. no cap. π
The current flags are:
SQLβ generated SQL and its associated bound variables. the receipts, literally. π§ΎTRACEβ a stack trace will be generated any time SQL is generated. so you can see exactly who did this. πMETHODMAKERβ theAlzabo::MethodMakermodule will generate verbose output describing the methods it is creating. it's basically narrating its own glow-up. β¨REVERSE_ENGINEERβ the modules involved in reverse-engineering will generate output describing what it finds during reverse-engineering. detective mode activated. π΅οΈALLβ turn on all flags. every single one. main character energy, maximum chaos, slay. π
For now, all debugging output is sent to STDERR.
so yeah, that's the whole page β short, sweet, and very "set it before you load it" coded. πΈ
This was the Alzabo::Debug(3pm) page from the User Contributed Perl Documentation, and the footer said it was generated by perl v5.34.0 on 2022-06-14. love that for us. bye bestie, go set your env vars ππ
π¦ where this page comes from
- debian bookworm: libalzabo-perl 0.92-6 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: libalzabo-perl 0.92-6 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libalzabo-perl 0.92-6 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libalzabo-perl 0.92-6 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libalzabo-perl 0.92-6 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms