I want to give the URL on my localhost, set POST variables and debug it and go... How to do this?
Use the PHP Development Tools with the required PHP debugger.