Clarify usage of iterators somewhat
[dbsrgits/DBIx-Class.git] / lib / DBIx / Class / Manual / Troubleshooting.pod
index 5dd88a7..41f55ff 100644 (file)
@@ -4,5 +4,17 @@ DBIx::Class::Manual::Troubleshooting - Got a problem? Shoot it.
 
 =head2  "Can't locate storage blabla"
 
+=head2 Tracing SQL
+
+The C<DBIX_CLASS_STORAGE_DBI_DEBUG> environment variable controls
+SQL tracing, so to see what is happening try
+
+  export DBIX_CLASS_STORAGE_DBI_DEBUG=1
+
+Alternatively use the C<storage->debug> class method:-
+
+  $class->storage->debug(1);
+
+
 =cut