---
title: "BaseControl.DebugScriptMode Property  ActiveX/Java Uploader PHP"
canonical: https://www.aurigma.com/docs/us8/JA_P_P_BaseControl_DebugScriptMode.htm
product: "Upload Suite 8"
---

# BaseControl.DebugScriptMode Property ActiveX/Java Uploader PHP

Supported browsers: ![Internet Explorer](https://www.aurigma.com/docs/us8/icons/ie8.png)![Firefox](https://www.aurigma.com/docs/us8/icons/firefox.png)![Google Chrome](https://www.aurigma.com/docs/us8/icons/chrome.png)![Safari](https://www.aurigma.com/docs/us8/icons/safari.png)
 
Gets or sets a debug mode which will be used to display messages if the [DebugScriptLevel](https://www.aurigma.com/docs/us8/JA_P_P_BaseControl_DebugScriptLevel.htm.md) is greater than `0`.

## Syntax
 
```
public function getDebugScriptMode() {
}

public function setDebugScriptMode($value) {
}
```
 
### Property 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 pop-up 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. |
 
**Note** 
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']"**.

## See Also
 
### Reference
 
- [Aurigma.ImageUploader.BaseControl.DebugScriptMode ASP.NET PropertyActiveX/Java Uploader](https://www.aurigma.com/docs/us8/JA_P_Aurigma_ImageUploader_BaseControl_DebugScriptMode.htm.md)
