Added Debug Contexts

Building in debug mode will cause the context to be created as a debug
context.