Skip to content
This repository has been archived by the owner. It is now read-only.
Browse files

debugger: fix --debug-brk

Commit 840229a forgot to update the debugger special case in lib/module.js

Fixes #2710.
  • Loading branch information
bnoordhuis committed Feb 7, 2012
1 parent 0a34755 commit 09c296b44daedfd2b5da3a46120507ed7bd198e0
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/module.js
@@ -429,7 +429,7 @@ Module.prototype._compile = function(content, filename) {
var compiledWrapper = runInThisContext(wrapper, filename, true);
if (global.v8debug) {
if (!resolvedArgv) {
resolvedArgv = Module._resolveFilename(process.argv[1], null)[1];
resolvedArgv = Module._resolveFilename(process.argv[1], null);

// Set breakpoint on module start

1 comment on commit 09c296b


This comment has been minimized.

Copy link

indutny commented on 09c296b Feb 8, 2012

Ohhhh, interesting...

Please sign in to comment.
You can’t perform that action at this time.