Hello,
You might have used python as cgi and might be knowing how to debug errors on browsers, but many of them still dont use this features.
Have a look at
http://deepak.frih.net/cgi-bin/test_python.cgi
In above script, I called a function which is not defined into the script, as a result, it should raise NAME ERROR.
You could also debug you python files by importing cgitb.
Happy debugging!
You might have used python as cgi and might be knowing how to debug errors on browsers, but many of them still dont use this features.
Have a look at
http://deepak.frih.net/cgi-bin/test_python.cgi
In above script, I called a function which is not defined into the script, as a result, it should raise NAME ERROR.
You could also debug you python files by importing cgitb.
| Code: |
| import cgitb; cgitb.enable() |
Happy debugging!
