`bin/omero admin deploy debug` does it. Modifying `etc/grid/templates.xml` and then `bin/omero admin deploy` does it as well.