The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
#!/usr/bin/env perl
use strict;
use warnings;
use lib 'lib';
use Devel::ebug::Console;

my $backend;
if ($ARGV[0] eq '--backend') {
    $backend = $ARGV[1];
    shift(@ARGV);
    shift(@ARGV);
}
my $console = Devel::ebug::Console->new();
$console->run($backend);

__END__

=head1 NAME

ebug - A simple, extensible console Perl debugger

=head1 SYNOPSIS

  % ebug calc.pl
  % ebug "add.pl 3 4"

=head1 DESCRIPTION

ebug is an interactive commmand-line front end to L<Devel::ebug>. It
is a simple Perl debugger, much like perl5db.pl.

=head1 SEE ALSO

L<Devel::ebug>

=head1 AUTHOR

Leon Brocard, C<< <acme@astray.com> >>

=head1 COPYRIGHT

Copyright (C) 2005, Leon Brocard

This program is free software; you can redistribute it or modify it
under the same terms as Perl itself.