Windows 10 brings WSL (Windows Subsystem for Linux), which allows to run cross-compiled linux ELF binaries (for the same hardware) natively.
gdb is available in WSL.
Challenge 1: Lazarus tells me gdb is not found. My fpcupdeluxe Installation looks for it in the fpcbootstrap\gdb\x86_64-linux\ folder. I can wrap up a small wrapper that calls "wsl gdb" and place it there to continue.
Challenge 2: Lazarus won't debug my executable, because the path is different. Forward input and output streams and manipulating them to change \ to / and prepend /mnt/c/ to the executing call is far from what I could do in a spare minute though.
Has anyone had success in debugging Linux binaries on Windows through WSL?