Ticket #2192 enhancement closed wontfix
add __main__ func to trial.py allows trial to be executed under the pydev debugger
| Reported by: | scmikes | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | trial | Keywords: | trial debug eclipse pydef |
| Cc: | Branch: | ||
| Author: | Launchpad Bug: |
Description (last modified by exarkun) (diff)
This is a very simple enhancement, adding the following to the end of trial.py allows trial to be easily executed under the pydev eclipse debugger. This would probably simplify debug execution under other IDE's as well.
I do not know of any downsides (although there may be downsided that I am not aware of)
Thanks, Mike
if __name__ == "__main__":
run()
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

