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

Detlev Offenbach detlev at die-offenbachs.de
Tue Mar 14 10:17:10 GMT 2017


How is this done with pdb?

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
> _______________________________________________
> Eric mailing list
> Eric at riverbankcomputing.com
> https://www.riverbankcomputing.com/mailman/listinfo/eric

-- 

--
Detlev Offenbach
detlev at die-offenbachs.de


More information about the Eric mailing list