I am using Pycharm for add-on development. When I run anki in debug mode (but not simply run mode), a deck import window always opens on startup.
I seemed to have traced it to the onappMsg() call in aqt/main.py. The variable is_addon is set to False, so self.handleImport(buf) is called at the end of the function:
# import / add-on installation if is_addon: self.installAddon(buf) else: self.handleImport(buf)
Would anyone be able to help me understand why this is occurring and if there is a fix I can make to the debug configuration?