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=ebfb71b0b5a0b21b002c96657ef2bd20181e351e;hpb=ee38fa40d848a164040097286b4440d4b64565e8;p=dbsrgits%2FDBIx-Class-Historic.git diff --git a/lib/DBIx/Class/Manual/Troubleshooting.pod b/lib/DBIx/Class/Manual/Troubleshooting.pod index ebfb71b..41f55ff 100644 --- a/lib/DBIx/Class/Manual/Troubleshooting.pod +++ b/lib/DBIx/Class/Manual/Troubleshooting.pod @@ -1,10 +1,20 @@ -=head1 Troubleshooting +=head1 NAME -=over 4 +DBIx::Class::Manual::Troubleshooting - Got a problem? Shoot it. -=item +=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); -=back =cut