Remember, the bad guys don't care that your feature exists
just for debugging purposes.
If it's there, they will attack it.
Consider the following code:
When you need to debug the program, you can install the
DLL into the application directory.
The code above looks for that DLL and if present, gets
some function pointers from it.
For ...