From 7ce40de62607f76e45e4d54d75cd3e32e805397d Mon Sep 17 00:00:00 2001 From: Fabien Antoine Date: Wed, 13 Jul 2016 09:00:52 +0200 Subject: [PATCH] Added simple debug step --- src/hxextern/step/DebugStep.hx | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 src/hxextern/step/DebugStep.hx diff --git a/src/hxextern/step/DebugStep.hx b/src/hxextern/step/DebugStep.hx new file mode 100644 index 0000000..a3549bb --- /dev/null +++ b/src/hxextern/step/DebugStep.hx @@ -0,0 +1,24 @@ +package hxextern.step; + +import haxe.DynamicAccess; +import hxextern.step.IStep; +import sys.FileSystem; +import sys.io.File; + +@:step('debug') +class DebugStep extends AbstractStep +{ + public function new() + { + super(); + } + + public override function run(context : StepContext) : Void + { + super.run(context); + + this.console + .debug(Std.string(context.variables)) + ; + } +}