Is there a configuration setting that prevents the Debug panels (Variables, Watch, Call Stack) and Debug Console
Debug
Variables
Watch
Call Stack
Debug Console
It is now possible using the debug.openDebug User Setting.
You can set it to either: