Thanks Kovid, that is much simpler than my way. I've found another way to do it too:
From the Windows console in the main Calibre directory:
calibre-debug -g 1> debug.log 2>&1
I decided to also write to the Windows debug output as this automatically appears in the VS output window when debugging.
|