-
Notifications
You must be signed in to change notification settings - Fork 422
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
Debugging the mongooseim for modules and hooks development #1788
Comments
|
Thanks a lot GalaxyGorilla. |
Hi GalaxyGorilla/awshelpdesk, can you tell me how to enable im(). on MongooseIM? |
IIRC you just need to add |
You mean I need to add export APPS=debugger inside rebar.config like this? Its not working. Where should I use export APPS=debugger and should I use all the above steps after that to make it work? |
Try this:
However, I did not try this ... EDIT: What is all the sudo stuff doing there? |
No, still same, not working. I need to use sudo otherwise I get lots of Permission denied errors |
Just figured it out, add debugger and wx like this in the rebar script:
I am pretty sure you can also do this via env variables, but currently I have no time to figure this out. |
You are awesome. It worked 👍 |
MongooseIM version: 2.1.1
Installed from: source at github
Erlang/OTP version: 20
Describe the issue.
I need to debug mongooseim modules and hooks. But when i do start mongooseim and then start ./mongooseimctl debug, i get following error when executing the command im(). in erlang shell.
Call to i:im/0 in application debugger failed.
Do let me know how can i rectify the issue as i am learning mongooseim developement.
Thanks
The text was updated successfully, but these errors were encountered: