Link against debug libraries in DEBUG mode