X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FDBIx%2FClass%2FManual%2FTroubleshooting.pod;h=41f55ff41ff67384439395d459d02170067b3395;hb=19feb86bd0beb518ffb5bcbfe3cf37d2cc9c1c21;hp=5dd88a7d0c39736e60b6aa6d189936687eb3e49e;hpb=8091aa9182ff763aa607dd82f4d61b99f8adab37;p=dbsrgits%2FDBIx-Class-Historic.git diff --git a/lib/DBIx/Class/Manual/Troubleshooting.pod b/lib/DBIx/Class/Manual/Troubleshooting.pod index 5dd88a7..41f55ff 100644 --- a/lib/DBIx/Class/Manual/Troubleshooting.pod +++ b/lib/DBIx/Class/Manual/Troubleshooting.pod @@ -4,5 +4,17 @@ DBIx::Class::Manual::Troubleshooting - Got a problem? Shoot it. =head2 "Can't locate storage blabla" +=head2 Tracing SQL + +The C environment variable controls +SQL tracing, so to see what is happening try + + export DBIX_CLASS_STORAGE_DBI_DEBUG=1 + +Alternatively use the Cdebug> class method:- + + $class->storage->debug(1); + + =cut