in reply to Re^2: Cannot connect to a SQLite db using DBIx::Class
in thread Cannot connect to a SQLite db using DBIx::Class

I haven't used DBIx*. In DBI, there is $errstr ($foo = DBI->connect() or die $DBI::errstr) variable to get the error text; and, trace() (DBI->trace( $level = 2 ); additionally may pass a file path to store output) to see how things are progressing.

I fear you would report that even after setting a trace level, nothing is printed. In that case, something might be closing|fiddling with, at least, standard error.