Im working on a fairly significant change of the way authentication works, and so I need to debug whats going on at a fairly low level. What is the best way to debug whats happening? I dont use Eclipse or any other IDE at this point, as they are not very condusive to the way I work (Im largely a vi man). But if there are no better options, I can attempt to work inside one.
To give an example of what Im looking at, right now my changes result in the server closing the connection (with a valid before closing the socket) as soon as the client sends anything. Obviously, something isnt right- so how do I trace it?