Most browsers have a "Development Tools" option that provides a number of tools including a step-through debugger similar to those in XCode/Eclipse/Visual Studio.
I personally use the development tools in Safari most of the time.
I personally use the development tools in Safari most of the time.
I think Chrome and/or Firefox provide more support for live editing of the current web page, however I've never made much use of that functionality.