Closed VysotskiVadim closed 7 years ago
I would like to verify this. How do I compile Haxe to C# on macOS?
Please install haxe: https://haxe.org/download/ I've published a simple project for you to test: https://github.com/VysotskiVadim/haxe-vscode-monodebug-sample , just open, put breakpoint and launch.
@VysotskiVadim thanks a lot for the PR and even more so for the sample project! That helped a lot.
I'm glad to help! thanks.
Let's add .hx extension to supported extensions. Haxe is language which can be compiled to c#, it overrides path and line number using line directive.
This Haxe code:
will be compiled to this c# code:
Because of line directive mono debugger works well with .hx files, so I believe mono debugger can be used to debug haxe code for c# target without any other changes.