Moved debugger-related code from session to DebuggerClient.
Moved sendDebugRequest from debugger to DebuggerClient.
Fixed a bug where a front-end page served from an old node-inspector
process crashed the new node-inspector process after restart.
Moved code for detecting special errors (ECONNRESET, ECONNREFUSED)
from session to debugger.
Modified debugger 'close' event to send close reason as the first parameter.
Fixed potential bug in `ScriptManager.addScript` where frontend url was used
instead of debugger script name.
Fixed potential bug in `breakEvent` where "go to location" breakpoint
was cleared even if we hit a breakpoint in a hidden file. This event
sends `continue` request immediately, thus the program would never pause
as the result.
Simplified `breakEvent` and removed script source fetching, since we are
already sending new scripts to the frontend as soon as they are loaded.
Removed `includeSource: true` from the debugger request used to load scripts,
since the frontend always sends a standalone request to get script source code.
Moved Agent registration from session.js to FrontendCommandHandler.
Replaced usage of debugger.request() with sendDebugRequest() and renamed
request to _request. There are stil two places where debugger.request is used,
but those are old functions that are never executed.
(We will remove or rewrite them later).
Wrapped lines longer than 80 characters.
Modified session behaviour so that back-end closes session and detaches
from the debugger when front-end web-socked disconnects.
Changed handling of debugger-connection errors so that front-end displays
popup window with error description when back-end cannot connect to debugger.
When a session starts, all previously set breakpoints are removed, since
they were already deactivated by V8 debugger.
* Fixed convert.v8RefToInspectorObject to correctly decode object class name
and buffer/array size into description.
* Modified debugger.sendDebugRequest to send refs lookup table to callback.
* Extracted code for launching debugger from mocha tests into a standalone
file (module).
- seperated session and server components
- moved dependencies to /vendor
- added new ui for specifying node debug port
- fix breakpoint syncing across windows
- groundwork for multiple debug sessions
- removed all child process functionality