Skip to content


Jens Fischer edited this page May 17, 2019 · 3 revisions

A wide variety of Haxe targets can be debugged with Haxe sources in VSCode:

There's also a debugger for Haxe 4's new macro interpreter called "Eval" built directly into vshaxe. This can be used for:

  • debugging all the different kinds of macros (build, expression, init)
  • debugging programs executed in the interpreter using --interp or --run

With a minimal launch.json, the debugger is started using the haxe specified by the "haxe.executable" setting and with the arguments from the currently selected Haxe Configuration:

	"version": "0.2.0",
	"configurations": [
			"name": "Haxe Interpreter",
			"type": "haxe-eval",
			"request": "launch"

To override the arguments that are used, you can set "args", for instance "args": ["build.hxml", "--interp"].

You can’t perform that action at this time.