I'm working w开发者_如何学Pythonith a long form/survey in extjs which calls a script which then does a lot of checking and processing with the submitted form data. This is all fine, but my problem is that when I submit the script I really need to see what is going on server side. Currently I am not seeing anything, as the console debug just returns a error if the response is not success/failure. How can I get eyes on what my form processing script is doing?
You have to have an environment/IDE that supports debugging on the server -- this is not something you can do from the browser (short of returning log info from the server as part of your response). To give one example, if you are using .NET on the back end, you can use Visual Studio to hook into the server (or run a dev server directly inside VS) that lets you set break points and debug server code, even when called from the browser via JS/Ajax. How or if this would be possible in your case depends entirely on your back end environment.
精彩评论