I use set(CMAKE_DEBUG_POSTFIX "_d"), which appends _d to target executable names and libraries in debug mode. When adding a new launch configuration and choosing the executable with the "Project Target" drop-down menu, the debugger complains "It doesn't seem like <target path without _d> is an executable at all". It assumes that the executable is named like the target and therefore fails to find it. As a workaround one can set the path to the executable explicitly, but it would be nice if the target selection worked.
Thank you for the bug report. Unfortunately we were not able to get to it yet. Can we ask you to please check if this is still an issue with KDevelop 25.12.2.
Closing, I am not using kdevelop anymore.