How to debug in vscode Windows?

Andre Pany andre at
Fri Dec 27 22:54:53 UTC 2019

On Friday, 27 December 2019 at 18:48:50 UTC, 
cfcd14f496326e429ce03c48650b7966 wrote:
> Hello.
> I spent many time to searching for find a solutions. Many posts 
> not clearly or tell like brief. :(
> I tried "Microsoft C/C++(ms-vscode.cpptools)" and "Native Debug 
> (webfreak.debug
> )" plugin. And I found this post: 
> Yeah, "Native Debug" is not work on windows.
> I guess, can only use a GDB with "Microsoft 
> C/C++(ms-vscode.cpptools)" for debug on windows. But I can't 
> find setup guide for D clearly.

I use the Microsoft plugin and it was working out of the box. 
There was no D specific setting to be done but as far as I 
remember just setting the executable file path in the debug json 

The only thing you have to take care of: with older versions of 
Dub, the executable has OMF architecture, recent versions of dub 
defaults to COFF (64 bit). Out of the box debugging works only 
for COFF.

Kind regards

More information about the Digitalmars-d-learn mailing list