www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - How do I change debug mode with dub?

reply Alex_Freeman <AlexF goggle.com> writes:
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!
Sep 16 2015
parent reply Gary Willoughby <dev nomad.so> writes:
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
Sep 16 2015
parent Alex_Freeman <AlexF goggle.com> writes:
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 :)
Sep 16 2015