mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-08-29 18:26:05 +00:00
Allow enabling debugging via environment variable
This commit is contained in:
parent
e8f3a3e6f2
commit
fdf58827e3
@ -42,6 +42,8 @@ usage() if ( $helpmeplease || ((!defined($suite) || !defined($case)) && !defined
|
||||
|
||||
my $dbh;
|
||||
|
||||
# Allow enabling debugging via an environment variable. Useful for debugging CI.
|
||||
$debug = 1 if ($ENV{DEBUG} || 0) == 1;
|
||||
|
||||
my @arguments = ( "--basic", "--proxy", "", "--insecure" );
|
||||
push @arguments, "--silent" unless ( $debug );
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user