Getting help

How to debug

Enable debug (set to true in config.php).

Check that your extension is loaded in the page, for instance my hyn/flarum-analytics package can be found in the source when looking for System.get('hyn/analytics/main') which refers to the namespacing defined in the Gulpfile.js of your forum or admin javascript.

If your extension is loaded. See if it actually runs, use console.log('hello there'); to see whether the code is running. The message will be shown under the console in your browser.

Suggestions? Let us know.

RahulKumar

luceos Thanks so much sir! I want to become flarum extension developer. I use flarum on my website's forum. I know it's not stable but I don't like other softwares. All are boring and bad looking.