diff --git a/bin/efa b/bin/efa
index dd8019e492dd7315c6970fb2a1c5a6520a8ed34f..5936ad14f26bdb4484012a4c3577f3f304eb623c 100755
--- a/bin/efa
+++ b/bin/efa
@@ -165,6 +165,7 @@ GetOptions(
 		bike|b
 		date|d=s
 		depart=s
+		devmode
 		discover|D
 		efa-url|u=s
 		exclude|e=s@
@@ -274,7 +275,8 @@ if ( $opt->{discover} or $opt->{'auto-url'} ) {
 				max_interchanges      => $opt->{'max-change'},
 				num_results           => $opt->{'num-connections'},
 
-				lwp_options => { timeout => $opt->{timeout} },
+				developer_mode => $opt->{devmode},
+				lwp_options    => { timeout => $opt->{timeout} },
 			);
 		};
 		if ($efa) {
@@ -314,7 +316,8 @@ else {
 			max_interchanges      => $opt->{'max-change'},
 			num_results           => $opt->{'num-connections'},
 
-			lwp_options => { timeout => $opt->{timeout} },
+			developer_mode => $opt->{devmode},
+			lwp_options    => { timeout => $opt->{timeout} },
 		);
 	};
 }
diff --git a/lib/Travel/Routing/DE/EFA.pm b/lib/Travel/Routing/DE/EFA.pm
index fefc2bdd25449e3a2d1bf7ebff1666f9d70009c7..24ee7e1c8d738129a59aaa050fd1b92c76c34a72 100644
--- a/lib/Travel/Routing/DE/EFA.pm
+++ b/lib/Travel/Routing/DE/EFA.pm
@@ -659,7 +659,9 @@ sub parse_xml {
 		string => $self->{xml_reply},
 	);
 
-	#say $tree->toString(2);
+	if ( $self->{config}->{developer_mode} ) {
+		say $tree->toString(2);
+	}
 
 	my $xp_element = XML::LibXML::XPathExpression->new(
 		'//itdItinerary/itdRouteList/itdRoute');