configure cmake for debug build, on by default

merge this or the commented out version.
i would prefer to have it on by default,
to allow us to debug right away if people complain about crashes.