How to build highly-debuggable C++ binaries
dhashe.com