I’d like to debug hl target in VisualStudio Code.
OS: Arch Linux
VSCode: OSS build 1.30 (community repo)
HL : 1.8
I’ve made a project with complete configuration you can use to have the same environment than me.
It is here: https://github.com/jeangit/debug_haxe_with_vscode
So, the build of the hxml works well, and if i launch the resulting hl, it’s running as expected.
The problem is for debugging:
I put a breakpoint (F9 key) in my source, then hit F5 for starting debug.
At this step, i get failed to connect to debug port .
But if i launch hl myself, with the debug port equal to the one defined in launch.js :
hl --debug 6118 --debug-wait test.hl
then pressing F5 in VScode will launch the program.
But in won’t stop on breakpoint, alas.
It seems that in fact VScode connects and launch, ignoring breakpoints.
What can i try, now ?
Thank you for reading.