I\'ve already set up a run configurations using makefile in CLion: Run configuration
But I don\'t know how to setup a debug configuration this way. I\'ve tried "Cust