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

Debugging plugins #187

Open
TengenJulian opened this issue Oct 5, 2016 · 1 comment
Open

Debugging plugins #187

TengenJulian opened this issue Oct 5, 2016 · 1 comment

Comments

@TengenJulian
Copy link

When something goes wrong in a plugin, the code silently fails. No messages appear in the Web Console, Browser Console, terminal or message buffer.

How can you debug plugins?

I'm using Firefox 48 and Pentadactyl 7296.

@eboth
Copy link

eboth commented Oct 7, 2016

I do see plugin error messages both in the Browser console and in the message buffer. There may be silent errors as well though – in those cases you could use console.log() or dactyl.echomsg() to output signs of life to the Browser console or the Pentadactyl message buffer, respectively.

You can even set breakpoints and debug Pentadactyl plugins in the Browser Debugger (not the window-specific Web Debugger). See here:
https://developer.mozilla.org/en-US/docs/Mozilla/Debugging/Debugging_JavaScript

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