trace & debug when cmake use with CMakePresets.json

Hi

I have problem for tracing & find bug in CMakePresets.json

Try debugging CMake with CMake --debug-output or --trace also not any help. CMake have CMakePresets.json.

For example, my situation CMAKE_EXPORT_COMPILE_COMMANDS set outside “cacheVariables”

Get error :
CMake Error: Could not read presets from zzz Invalid preset

How find bug in CMakePresets.json when trace & debug out NOT work ?

1 Like

@kyle.edwards