If you're using Quartz Debug, you probably want to set these as well:
defaults write com.apple.QuartzDebug QuartzDebugPrivateInterface -bool YES
defaults write com.apple.QuartzDebug QDDockShowFramemeterHistory -bool YES
defaults write com.apple.QuartzDebug QDDockShowNumericalFps -bool YES
defaults write com.apple.QuartzDebug QDShowWindowInfoOnMouseOver -bool YES
The first one lets the window list work, which Apple in its infinite wisdom has decided you as a non-Apple engineer don't need. The middle two are things you can set from inside the app but show useful things in the dock icon. And the last lets you identify which app a window belongs to (press ⌃⌥ while hovering over it), which is very useful when you have a random thing pop up and you don't know how to get rid of them.