Debugging D applications from VS code with webfreak.debug
FR via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Fri Feb 24 05:19:53 PST 2017
On Friday, 24 February 2017 at 03:15:11 UTC, Jerry wrote:
> You can use the C++ plugin, which provides a debugger. Just
> make sure you aren't using optlink, I don't think it generates
> compatible files. Also you might need to use "-gc" which
> generates debug names to be in C format.
>
> https://marketplace.visualstudio.com/items?itemName=ms-vscode.cpptools
>
> You might also need to enable breakpoints anywhere in VS code
> user setting file.
Awesome! After finding the right combination of flags (-g and
-m64 fed to dmd via dflags-dmd in my dub.json) this works quite
nicely. Thanks a lot!
Is there anywhere I can contribute this as documentation?
More information about the Digitalmars-d-learn
mailing list