diff --git a/xs/CMakeLists.txt b/xs/CMakeLists.txt
index caabeab6b..35d1fc7de 100644
--- a/xs/CMakeLists.txt
+++ b/xs/CMakeLists.txt
@@ -475,6 +475,7 @@ if(SLIC3R_STATIC)
     # Use boost libraries linked statically to the C++ runtime.
     # set(Boost_USE_STATIC_RUNTIME ON)
 endif()
+#set(Boost_DEBUG ON)
 find_package(Boost REQUIRED COMPONENTS system filesystem thread log locale regex)
 if(Boost_FOUND)
     include_directories(${Boost_INCLUDE_DIRS})