Adding debug runtime flag. Fixes #27