Skip to content

Commit 1d37abd

Browse files
Enable debug logging in llm-debug preset (#19005)
Add EXECUTORCH_ENABLE_LOGGING and EXECUTORCH_LOG_LEVEL=Debug to the llm-debug CMake preset so debug builds produce runtime log output.
1 parent f13b783 commit 1d37abd

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

CMakePresets.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,9 @@
185185
],
186186
"cacheVariables": {
187187
"CMAKE_BUILD_TYPE": "Debug",
188-
"CMAKE_INSTALL_PREFIX": "${sourceDir}/cmake-out"
188+
"CMAKE_INSTALL_PREFIX": "${sourceDir}/cmake-out",
189+
"EXECUTORCH_ENABLE_LOGGING": "ON",
190+
"EXECUTORCH_LOG_LEVEL": "Debug"
189191
}
190192
},
191193
{

0 commit comments

Comments
 (0)