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

Extension documentation: Provide debugging hints #308

Open
1 task done
cweiske opened this issue Nov 21, 2024 · 1 comment
Open
1 task done

Extension documentation: Provide debugging hints #308

cweiske opened this issue Nov 21, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@cweiske
Copy link

cweiske commented Nov 21, 2024

Describe your suggested feature

I'm trying to write an extension and have a hard time.

The documentation at https://miru.js.org/en/developer/ should talk about:

  • Miru supports hot reloading when javascript code changes on disk
  • Extension files are copied into ~/Documents/miru/extensions/ when installing them even from a local directory
  • The log file in ~/Documents/miru/miru.log
  • How to get debug messages from own code (console.log() writes into miru.log file)
  • Settings > Advanced > Extension Log Window
  • this.request does not take absolute URLs with hostname, but wants relative URL paths that it combines with @webSite.
  • detail method: Why are there multiple URLs within each episode ("episodes" are seasons, and urls are episodes?).
  • what are detail.metadata used for? What keys are allowed?
    • the current 1.8.1 code does not use it.

Acknowledgements

  • I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open issue.
@cweiske cweiske added the enhancement New feature or request label Nov 21, 2024
@appdevelpo
Copy link
Member

For some additional hint you can check this
For debugging extensions, you use a extension debugger(windows currently). console.log will print under the extension you have selected.

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

No branches or pull requests

2 participants