Gets or sets a debug mode which will be used to display messages if the DebugScriptLevel is greater than 0.
public function getDebugScriptMode() {
}
public function setDebugScriptMode($value) {
}
Type: string
The string containing one or several debug modes. The following values are supported:
| Value | Description |
|---|---|
| popup | All the messages will be shown in a popup window. |
| console | All the messages will be logged in a browser console (e.g. Firebug) if it is available. |
| alert | All the messages will be shown in alerts. |
If several debug modes are specified, they are used as follows. When the control is about to display a message, it uses the first specified mode. If it is failed, the next mode is used until the message is displayed correctly.
Default value is "['popup', 'console', 'alert']".