DebugLayer not shown when activated by GUI button

Hello,
I am adding a GUI button to my scene that shows or hide the debug layer when clicking on the button (repro https://www.babylonjs-playground.com/#XCPP9Y#2539). However when I click on it the debug layer is not shown, nor hidden. I am sure I am missing something.

Thx

isVisible is a function so it should be isVisible()

https://www.babylonjs-playground.com/#XCPP9Y#2540

arrg, I feel dumb!