For error messages in the Windows embedding, use stderr rather than Windows debug logging, so that it will go to the console where, e.g., 'flutter run' will display it.