Developer forum

Forum » Development » Disable ?debug=true

Disable ?debug=true

Sander
Reply

How do I disable the ability to render debug info when providing a debug querystring parameter? Because this contains alot of sensitive information.


Replies

 
Nicolai Pedersen
Reply

In global settings file directly, add this node:

/Globalsettings/Settings/DwInclude/DisableDebug

And set it to true.

The  you can only use debug=true if you are logged into the administration as an administrator.

BR Nicolai

 
Sander
Reply

Wouldn't this be something you want to disable by default, at least in release- / production mode?

Also I wasn't able to find anything about this in the documentation. Only many people asking how to disable it in the forum.

 

 

You must be logged in to post in the forum