Skip to content
  • 3 Votes
    1 Posts
    342 Views
    barisB
    https://github.com/NodeBB/nodebb-plugin-debug-hook Sometimes you need to see the result of some filter/action on a live/prod instance and it is not easy to add a console.log and restart. This plugin allows you to select a plugin hook and see the resulting data after all plugins are done executing their hooks. Here is a sample from running it against filter:search.query [image: 1662508605035-d0347032-02ff-4dcc-83a8-8bc039b4b297-image.png] The output is updated automatically every time you trigger the hook.
  • How to add Opbeat logger to nodebb?

    General Discussion
    1
    0 Votes
    1 Posts
    3k Views
    F
    Anyone had experience using Opbeat (https://opbeat.com/) with nodebb? Opbeat is a good logging and debugging tool. They have plugin for nodejs. I'm wondering do we have to modify nodebb code(app.js?) or we can do it through a nodebb plugin? Thanks! Here is their instructions for nodejs app: [image: ucQ8bps.jpg]
  • How to debug particular functionality in NodeBB

    NodeBB Plugins
    9
    1 Votes
    9 Posts
    5k Views
    BriB
    @madwyn said: debugging a clustered app It actually looks like this was fixed (or made much nicer, anyway) in 0.11: https://strongloop.com/strongblog/whats-new-nodejs-v0-12-debugging-clusters/
  • NodeBB log level

    General Discussion
    5
    0 Votes
    5 Posts
    4k Views
    Peter-Zoltan KeresztesP
    I have tried to browse the plugins in the hope that I would get some more information but I did not got one single line. There still have to be a way to put this in full debug mode.