Skip to content

Commit

Permalink
Added simple debug step
Browse files Browse the repository at this point in the history
  • Loading branch information
fantoine committed Jul 13, 2016
1 parent bfdfbff commit 7ce40de
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions src/hxextern/step/DebugStep.hx
Original file line number Diff line number Diff line change
@@ -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))
;
}
}

0 comments on commit 7ce40de

Please sign in to comment.