First time here? Check out the FAQ!
1

Package debugging

  • retag add tags

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?

Bill Waggoner's avatar
145
Bill Waggoner
asked 2020-12-12 12:35:44 -0600
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

0

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.

Wingware Support's avatar
4.2k
Wingware Support
answered 2020-12-14 08:15:15 -0600
edit flag offensive 0 remove flag delete link

Comments

Named Module works perfectly, thank you!

Bill Waggoner's avatar Bill Waggoner (2020-12-14 16:43:07 -0600) edit
add a comment see more comments

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss.

Add Answer