Debugging not working when using the Makefile feature in 2020.2 EAP

Hi there!

I am currently opening a open source makefile project in Clion 2020.2 EAP realease. It did run successfully without a CMakeList file. But I intended to run it step by step under the debug mode and every time I click the debug button, it seems the program just ignores the breakpoints and runs as normally build/run. I wonder if there is a way that I can both use the  new makefile feature and debug the code as a normal Cmake project?

Thanks for your help!

Below is my Run/Debug Configurations:



Does your Makefile target include debug symbols (

If I add -g to CXXFLAGS in, I can debug the app target just fine.