Ask Your Question
1

Package debugging

asked 2020-12-12 12:35:44 -0600

Bill Waggoner gravatar image

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
0

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

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

Comments

Named Module works perfectly, thank you!

Bill Waggoner gravatar imageBill Waggoner ( 2020-12-14 16:43:07 -0600 )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

2 followers

Stats

Asked: 2020-12-12 12:35:44 -0600

Seen: 322 times

Last updated: Dec 14 '20