Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to debug using 2.0 beta with node-inspector #400

Open
borislit opened this issue Jul 23, 2016 · 0 comments
Open

Unable to debug using 2.0 beta with node-inspector #400

borislit opened this issue Jul 23, 2016 · 0 comments

Comments

@borislit
Copy link

Steps to reproduce:
npm install -save-dev jasmine-node

i then ran the following command:
node --debug-brk node_modules/jasmine-node/lib/jasmine-node/cli.js lib/test/spec/
Which yielded: "Debugger listening on port 5858"
In parallel, i ran node-inspector.
The debugger work, and in fact stopped at the first break point. However once i attempted to move to the next breakpoint, i've received an exception:

Error: Cannot find module './index'
at Function.Module._resolveFilename (module.js:338:15)
at Function.Module._load (module.js:289:25)
at Module.require (module.js:366:17)
at require (module.js:385:17)
at Object. (/Users/borisl/projects/mock-gen/node_modules/jasmine-node/lib/jasmine-node/cli.js:5:15)
at Module._compile (module.js:425:26)
at Object.Module._extensions..js (module.js:432:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:313:12)
at Module.runMain as _onTimeout

The file is indeed missing. I've noticed that it is present in the 1.3 branch though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant