fix(footer): correct logic to show debug panel

In the controller, the actions behind the buttons are only defined in development.
As a result, if the environment is neither production, nor development,
the buttons would show up but do nothing.

After this fix, the buttons only show up in development.
Merge pull request #3191 from denis-sokolov/footer-proper-debug-condition

fix(footer): correct logic to show debug panel