[Eric] Debug modules, that are supposed to be executed with -m

Mikhail Terekhov termim at gmail.com
Wed Mar 15 21:06:14 GMT 2017


On Wed, Mar 15, 2017 at 2:52 AM, Hans-Peter Jansen <hpj at urpla.net> wrote:

> On Dienstag, 14. März 2017 11:17:10 Detlev Offenbach wrote:
> > How is this done with pdb?
>
> Don't know, but I guess, that the Script execute/debug dialog needs another
> option "Run as module", that adds -m to the interpeter execution arguments.
>
> Pete
>
> >
> > Am Montag, 13. März 2017, 23:08:13 CET schrieb Hans-Peter Jansen:
> > > Hi Detlev,
> > >
> > > I ran into a funny issue related to Python3.
> > >
> > > How can I debug a script in Eric, if this is supposed to be executed
> as a
> > > module (e.g. called with python3 -m ...), which happens, if one want to
> > > use
> > > relative paths and arbitrary entry points...
> > >
> > > The option to rewrite everything with absolute paths isn't always
> > > feasible.
> > >
> > > Cheers,
> > > Pete
>


It would be useful to have a possibility to add any additional parameter to
the python that executes/debugs script. Even better if on a per project
basis.

Regards,
-- 
Mikhail Terekhov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/eric/attachments/20170315/e43feada/attachment.html>


More information about the Eric mailing list