Debug hxcs in VSCode?

From what I see one cannot debug C# code using hxcs. How do you handle C# targets built with Haxe? I guess when one has an issue, one has to load a C# debugger and perform debugging like so, then go into Haxe code and fix the issue there?

I remember I once managed to get Visual Studio (not Code) step through the original .hx files (thanks to #line annotations), but IIRC it was (not)working quite randomly and it wasn’t the best experience overall. So yeah, it’s easier to debug the generated code and fix the Haxe source.

Maybe this will change one day if/when we have a direct CIL target :slight_smile:

Could you please describe how did you achieve this?