Re: Debug1 or Debug2 for command line logging?
You have to enable more verbose logging in GUI in advance.
See also https://winscp.net/eng/docs/faq_script_ini
See also https://winscp.net/eng/docs/faq_script_ini
Before posting, please read how to report bug or request support effectively.
Bug reports without an attached log file are usually useless.