Can't debug hashlink project on Ubuntu (working properly on Windows)

In Visual Studio Code, when I add a breakpoint and run a hashlink application, the execution stops correctly at that breakpoint but further step into doesn’t work (actually I have to step into many times to enter a function).
Also a step over is very unreliable, and a continue command blocks the execution, I have to kill the application.

I have tested on a fresh basic project, it behaves the same. However, on Windows, it works properly.

I’m using the latest versions of tools/libraries:

  • Ubuntu 20.04
  • Visual Studio Code 1.49.2
  • haxe 4.1.4
  • hashlink 1.11.0 compiled from source code
  • Latest versions of VS Code extensions.

On Windows, except the OS, all is the same version.