Examples/rhallo.py

Sat, 12 Apr 2014 22:39:33 +0200

author
T.Rzepka <Tobias.Rzepka@gmail.com>
date
Sat, 12 Apr 2014 22:39:33 +0200
branch
Py2 comp.
changeset 3505
84e7cee47d10
parent 42
23b45a742e17
child 3670
f0cb7579c0b4
permissions
-rw-r--r--

Start the background client always as external process.

#!/usr/bin/env python

import sys

import eric5dbgstub

def main():
    print("Hello World!")
    sys.exit(0)
    
if __name__ == "__main__":
    if eric5dbgstub.initDebugger("standard"):
# or   if eric5dbgstub.initDebugger("threads"):
        eric5dbgstub.debugger.startDebugger()

    main()

eric ide

mercurial