debug config, link with debug lib