when im developing my project i run with an external debugger so i can see whats going on etc. i turn the debugging on with a {$DEFINE DEBUG} but i have to do that in every unit.

is there a way to just do a {$DEFINE DEBUG} in 1 unit and have it working in all units?

i tried with the .cfg file but it didnt work and was overwritten every time i saved