7 Module implementing a debugger stub for remote debugging. |
7 Module implementing a debugger stub for remote debugging. |
8 """ |
8 """ |
9 |
9 |
10 import os |
10 import os |
11 import sys |
11 import sys |
12 import sysconfig |
|
13 |
12 |
14 from eric7.Globals import getConfig |
13 from eric7.Globals import getConfig |
15 |
14 |
16 debugger = None |
15 debugger = None |
17 __scriptname = None |
16 __scriptname = None |
18 |
17 |
19 modDir = sysconfig.get_path("platlib") |
|
20 ericpath = os.getenv("ERICDIR", getConfig("ericDir")) |
18 ericpath = os.getenv("ERICDIR", getConfig("ericDir")) |
21 |
19 |
22 if ericpath not in sys.path: |
20 if ericpath not in sys.path: |
23 sys.path.insert(-1, ericpath) |
21 sys.path.insert(-1, ericpath) |
24 |
22 |