1 package MooseX::Runnable::Invocation::Plugin::Debug;
3 use Context::Preserve qw(preserve_context);
5 for my $method (qw/load_class apply_scheme validate_class create_instance start_application/){
9 before $method => sub {
11 my $args = join ', ', @args;
12 print "Calling $method($args)\n";
15 after $method => sub {
16 my ($next, $self, @args) = @_;
17 print "Returning from $method\n";