On Thursday, 7 February 2019 at 02:55:15 UTC, evilrat wrote:
You need C++ tools from Microsoft to debug D code, don't mind
the name, its debugger works for any (compatible formats)
native code.
Then add C++ Windows debug configuration and set your paths.
Done. You can debug now. (Though it is possible that it will
require Visual Studio Build Tools installation)
Of course this will not work for default DMD builds because it
is using ancient object files format that is not compatible
with VS debugger engine, so using DMD you need to build with
-m32mscoff (dub --arch=x86_mscoff) or -m64 (dub --arch=x86_64)
flags.
Thanks, I'll give it a shot.