Ask Your Question

Package debugging

asked 2020-12-12 12:35:44 -0500

Bill Waggoner's avatar

I am writing a system that contains two packages. I want to set it up, perhaps with File Properties?, where if I start debug in any of the parts of the packages that the system runs "-m package args..." for any of the individual modules in the package.

Is there a way to set up two Launch Configurations that I can assign the the individual files in each package?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2020-12-14 08:15:15 -0500

The Environment under Debug/Execute in File Properties can be set to Launch with 'python -m' for any file. Also, you can create a Named Entry Point from the Debug menu and use the "Named Module" option to run a module by name from that. So probably if I'm understanding your question correctly you would create two Named Entry Points, one for each package.

edit flag offensive delete link more


Named Module works perfectly, thank you!

Bill Waggoner's avatar Bill Waggoner  ( 2020-12-14 16:43:07 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools



Asked: 2020-12-12 12:35:44 -0500

Seen: 735 times

Last updated: Dec 14 '20