Add debug code for Windows.