Page MenuHomePhabricator

Lua debugging console doesn't output any text
Closed, InvalidPublicBUG REPORT


List of steps to reproduce (step by step, including full links if applicable):

  • Edit any Lua module and add a mw.log() or a mw.logObject() call in the code
  • Preview a page that contains a call to the module

What happens?:
The debugging console is empty.

What should have happened instead?:
The debugging console should have the output of mw.log() and mw.logObject()

Event Timeline

Legoktm added a subscriber: Legoktm.

Unfortunately that's not how mw.log() and the debug console works. You have to invoke the specific function in the debug console to see the log output, it won't work on page preview.