<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Wed, Mar 15, 2017 at 2:52 AM, Hans-Peter Jansen <span dir="ltr"><<a href="mailto:hpj@urpla.net" target="_blank">hpj@urpla.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="gmail-">On Dienstag, 14. März 2017 11:17:10 Detlev Offenbach wrote:<br>
> How is this done with pdb?<br>
<br>
</span>Don't know, but I guess, that the Script execute/debug dialog needs another<br>
option "Run as module", that adds -m to the interpeter execution arguments.<br>
<br>
Pete<br>
<div class="gmail-HOEnZb"><div><br>
><br>
> Am Montag, 13. März 2017, 23:08:13 CET schrieb Hans-Peter Jansen:<br>
> > Hi Detlev,<br>
> ><br>
> > I ran into a funny issue related to Python3.<br>
> ><br>
> > How can I debug a script in Eric, if this is supposed to be executed as a<br>
> > module (e.g. called with python3 -m ...), which happens, if one want to<br>
> > use<br>
> > relative paths and arbitrary entry points...<br>
> ><br>
> > The option to rewrite everything with absolute paths isn't always<br>
> > feasible.<br>
> ><br>
> > Cheers,<br>
> > Pete</div></div></blockquote><div><br> </div><div class="gmail-h5">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.</div></div><br clear="all"></div><div class="gmail_extra">Regards,<br></div><div class="gmail_extra">-- <br><div class="gmail_signature">Mikhail Terekhov</div>
</div></div>