3 DBIx::Class::Manual::Troubleshooting - Got a problem? Shoot it.
5 =head2 "Can't locate storage blabla"
9 The C<DBIX_CLASS_STORAGE_DBI_DEBUG> environment variable controls
10 SQL tracing, so to see what is happening try
12 export DBIX_CLASS_STORAGE_DBI_DEBUG=1
14 Alternatively use the C<storage->debug> class method:-
16 $class->storage->debug(1);
18 To send the output somewhere else set debugfh:-
20 $class->storage->debugfh(IO::File->new('/tmp/trace.out', 'w');
22 Alternatively you can do this with the environment variable too:-
24 export DBIX_CLASS_STORAGE_DBI_DEBUG="1=/tmp/trace.out"