I'm new to CLion, I've been running my code on terminal and wanted to try debugging using CLion interface. I have a custom Makefile, I already set the project as Makefile Project, edited configurations to select targets and executable, and so far I'm able to build and run my program successfully using CLion, however, I'm not able to access breakpoints on debug mode. I followed documentation example and read some posts, some recommend to link targets in a CMakefile, but I'd rather just stick with single Makefile, if possible.
The message I get is "The breakpoint will not currently be hit. No executable code is associated with this line", there's definitely something I'm missing in my configuration but I cannot find how to fix it.
I'm running CLion 2021.2.2, using Debian 10 in a Virtual Machine. Thanks in advance for the guidance.