I'm presently developing a credit card applicatoin with Django on Ubuntu. Since I Have desired to use Apache rather than the expansion server that accompany Django, I have installed Apache 2.2 on my small machine.
After reading through code reloading technique in mod_wsgi I have setup my Django application to operate inside a daemon mode. Then, attempting to give a decent debugging capacity, I just read Debugging Techniques in order to use pdb and it is set_trace() function. However , the document claims I'm able to only run this within an embedded mode.
Therefore it appears like there's a trade-off between debugging and auto reloading your source code (the necessity to choose either daemon mode or embedded mode) . Can there be anyway to attain both needs?