First time here? Check out the FAQ!

Revision history  [back]

Using 'python -m' is increasingly the standard for launching utilities and tools that are part of Python packages. If it's possible to launch poetry with 'python -m poetry' then you don't need to create a but can instead set Main Entry Point under the Debug tab of Project Properties to Use Selected Entry Point and create a Named Entry Point from there which uses the "Named Module" option with module name poetry.

Another approach would be to start debug from code run by poetry and run it from the command line or Wing's OS Commands tool. I think just adding a is cleaner, but this is documented at