1. A method for debugging JavaScript code and other code that is compiled into JavaScript in a computer system, the method comprising: designating segments of the JavaScript code as one of developer code, library code, and unrelated code; and performing debugging operations on the JavaScript code, wherein a behavior of the debugging operations is selected depending upon the designation of the JavaScript code segments.