How do I change debug mode with dub?

Alex_Freeman via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Sep 16 08:44:31 PDT 2015


On Wednesday, 16 September 2015 at 12:04:38 UTC, Gary Willoughby 
wrote:
> On Wednesday, 16 September 2015 at 10:42:13 UTC, Alex_Freeman 
> wrote:
>> Hey all! I'm just wondering how to run dub with different 
>> debug versions, or running it with different versions 
>> generally? Is there also a way to have code behind multiple 
>> debug versions, or run more than one debug version at once?
>>
>> Thanks!
>
> There's lots of useful information here:
> http://code.dlang.org/package-format?lang=json

Thanks for the link!

I got it working with adding
     "debugVersions": ["whatever","I","want"]
to my dub.json file :)


More information about the Digitalmars-d-learn mailing list