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

using debugger / finding the debug output? #54

Closed
dcsan opened this issue Dec 22, 2015 · 1 comment
Closed

using debugger / finding the debug output? #54

dcsan opened this issue Dec 22, 2015 · 1 comment

Comments

@dcsan
Copy link
Contributor

dcsan commented Dec 22, 2015

I'm using a node app (npm module) and set the

! global debug = true

however I can't see anything coming out by default in the console.
I don't think its going to stderr or stdout.
is there anyway to set the log to go to a specific file, or somehow find it?

https://www.rivescript.com/docs/tutorial

@kirsle
Copy link
Member

kirsle commented Dec 22, 2015

This seems to be a confirmed bug; the ! global debug setting gets parsed from the file and put into the this._global["debug"] variable, but this._debug isn't then triggered to copy the value from there so debug mode doesn't end up getting enabled.

@kirsle kirsle closed this as completed in a923368 Dec 30, 2015
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

2 participants