Debug an install target in CLion

  c++, clion

The dropdown menu in CLion only shows targets that are added using the add_executable and add_library commands in cmake, however the binary I want to debug is installed in "build" directory using ‘make install’ command – the one in cmake-build cannot be run due to missing configuration files and libraries.

How can I make CLion run the installed binary with the built in debugger?

Source: Windows Questions C++