As far as I can see - using the local export to makefile - `make DEBUG=1` no longer produces a debug build. I fixed it [this way](https://github.com/janjongboom/mbed-os-example-blinky/commit/c6cf103299076263eac5f8c4430da036208d3175) by patching the Makefile, but I'm unsure how to translate this patch into a proper PR against the Makefile exporter. @theotherjimmy @sg- @bridadan