Important: You must build the dll in debug mode and use the TRACE macro.
I know different options sorted by usability:
a) in Visual Studio, set the exe in the
Debug Settings as Command. This launches the app and the dlls also are debugable.
b) use
Debug View
c) last option is to write debug output into a text file.