### no_threads_web2py.py ###
from wsgiref.simple_server import make_server, demo_app
from gluon import wsgibase
httpd = make_server('', 8000, wsgibase)
print "Serving HTTP on port 8000..."
# Respond to requests until process is killed
httpd.serve_forever()
### end file ###On Jun 3, 12:07 am, Dmitriy <[email protected]> wrote: > Is there any way to execute web2py in one (main) thread? > If not, can it be added? > This can help to debug web2py in PyScripter. PyScripter is great IDE > for Windows, but currently support only single-thread debugging. A '-n > 1' command line option doesn't help. > > Thanks!

