Created
June 3, 2010 12:59
-
-
Save smtlaissezfaire/423857 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
hopcroft:nodered(master) scotttaylor$ ndb --version | |
ndb version 0.1.5 | |
hopcroft:nodered(master) scotttaylor$ node --version | |
v0.1.96 | |
hopcroft:nodered(master) scotttaylor$ ndb --local lib/websockets_server.js | |
Spawning process: `node --debug-brk lib/websockets_server.js` | |
Could not connect to host 127.0.0.1 on port 5858. Will try again in 2 seconds. | |
welcome to the node debugger! | |
ndb> list | |
1 (function (exports) {/**********************************************************************/ | |
2 | |
3 // Module | |
4 | |
5 var internalModuleCache = {}; | |
6 var extensionCache = {}; | |
7 | |
8 function Module (id, parent) { | |
9 this.id = id; | |
ndb> Breakpoint at 1:10 (in function undefined) | |
(function (exports, require, module, __filename, __dirname) { var | |
ndb> list | |
=> 1 (function (exports, require, module, __filename, __dirname) { var | |
2 sys = require("sys"), | |
3 Client = require("./client").Client, | |
4 dispatch = require("./request_dispatch"), | |
5 ws = require('./vendor/ws'); | |
6 | |
7 function WebSocketsServer(ip, port, specDraft) { | |
8 this.ip = ip; | |
9 this.port = port; | |
ndb> s | |
Breakpoint at 2:8 (in function undefined) | |
sys = require("sys"), | |
ndb> list | |
1 (function (exports, require, module, __filename, __dirname) { var | |
=> 2 sys = require("sys"), | |
3 Client = require("./client").Client, | |
4 dispatch = require("./request_dispatch"), | |
5 ws = require('./vendor/ws'); | |
6 | |
7 function WebSocketsServer(ip, port, specDraft) { | |
8 this.ip = ip; | |
9 this.port = port; | |
ndb> e require("sys") | |
=> { print: [Function] | |
, puts: [Function] | |
, debug: [Function] | |
, error: [Function] | |
,... (length: 178) | |
ndb> list | |
1 (function (exports, require, module, __filename, __dirname) { var | |
=> 2 sys = require("sys"), | |
3 Client = require("./client").Client, | |
4 dispatch = require("./request_dispatch"), | |
5 ws = require('./vendor/ws'); | |
6 | |
7 function WebSocketsServer(ip, port, specDraft) { | |
8 this.ip = ip; | |
9 this.port = port; | |
ndb> e require("./client").Client | |
=> [Function] | |
ndb> e dispatch = require("./request_dispatch") | |
ReferenceError: our is not defined | |
ndb> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment