[wingide-users] Debug with mod wsgi
aviah laor
aviahpython at gmail.com
Wed Apr 29 07:42:03 MDT 2009
Hi,
recently started to work with mod_wsgi instead of the django web server, but
the wing debugger don't work
os : Ubuntu 8.04
i changed the kEmbedded to 1
mod_wsgi is running on my user, same as the IDE
the wingdebugpw and wingdbstub files are in the main project directory,
which has a symlink from python 2.5 >> site packages
the following lines are in some django view:
import projectmain.wingdbstub as wd
if wd.debugger != None:
wd.debugger.StopDebug()
time.sleep(1)
wd.debugger.StartDebug()
it gives an error, when checking the file alone it seems that "module
wingdbstub" has no attribute debugger.
when using only the import line:
import projectmain.wingdbstub as wd
the windb log file says :
--------------------------------------------------------------------------------STARTING
NEW DEBUG LOGGING SESSION
--------------------------------------------------------------------------------
wingdbg - 2009/04/29 07:33:11 - 'netserver CLOSECHANNEL'
wingdbg - 2009/04/29 07:33:11 - 'netserver CLOSECHANNEL'
thanks,
Aviah
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/wingide-users/attachments/20090429/f8631ea5/attachment.html
More information about the wingide-users
mailing list