-
Notifications
You must be signed in to change notification settings - Fork 102
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
Enable node debugger with debug flag #450
base: master
Are you sure you want to change the base?
Conversation
I've been doing a lot of manual |
I like it! re ergonomics, we're supposed to send console.logs to a separate tab in the terminal ui but that is not implemented yet. Figure people can just do |
@s3ththompson's |
@s3ththompson does |
I use https://medium.com/@paul_irish/debugging-node-js-nightlies-with-chrome-devtools-7c4a1b95ae27 |
I hear you. When using |
This is a 🙋 feature
Checklist
Context
Debugging an app running on bankai (or bankai itself, for that matter) with just
console.log
isn't the most ergonomic experience and thedebug
option wasn't doing anything anyway (one has to set theDEBUG
env variable to enable logs).This adds the
debug
option which signals node to start listening for debuggers, optionally on a specific port. Though the port option isn't working for me, supposedly this is how it's intended to work (https://nodejs.org/api/process.html#process_process_debugport).Semver Changes
Minor
Closes #441