> Has anyone had experience with the remote debugger for Python Tools for
> Visual Studio and uWSGI?
>
> When I edit the wsgi.py in a Django project to include:
>
> import ptvsd
> ptvsd.enable_attach(None)
>
> It works just fine in the django server.
>
> When I run the same project under uWSGI it seems self.cur_frame and thus
> its f_back is not available.
> Any clues as to how to work around this.
>
> Link to the website describing the use of the PTVSDebugger:
> http://pytools.codeplex.com/wikipage?title=Remote%20Debugging%20for%20Windows%2c%20Linux%20and%20OS%20X

When you get "compatibility" problem between uWSGI and standard python
behaviour, just add

--enable-threads --lazy-apps

this build a "common" python environment



-- 
Roberto De Ioris
http://unbit.it
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to