Only attach the debugbar in dev mode
Only attach the debugbar in dev mode

This prevents the debugbar to be loaded at all when not in dev mode. As another extra method to prevent unwanted loading on live sites.
lekoala/silverstripe-debugbar,lekoala/silverstripe-debugbar