Set build type to debug
Added handler for patterns to load_from_config()