---
title: "BaseControl.DebugScriptMode Property  HTML5/Flash Uploader PHP"
canonical: https://www.aurigma.com/docs/us8/FH_P_P_BaseControl_DebugScriptMode.htm
product: "Upload Suite 8"
---

# BaseControl.DebugScriptMode Property HTML5/Flash Uploader PHP

Supported technologies: ![Adobe Flash](https://www.aurigma.com/docs/us8/icons/flash.png)![HTML 5](https://www.aurigma.com/docs/us8/icons/html5.png)
 
Gets or sets a debug mode which will be used to display messages if the [DebugScriptLevel](https://www.aurigma.com/docs/us8/FH_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 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. |
 
**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.ImageUploaderFlash.BaseControl.DebugScriptMode ASP.NET Property HTML5/Flash Uploader](https://www.aurigma.com/docs/us8/FH_P_Aurigma_ImageUploaderFlash_BaseControl_DebugScriptMode.htm.md)

### Manual
 
- [Basic Steps in Troubleshooting of HTML5/Flash Uploader](https://www.aurigma.com/docs/us8/troubleshooting-basic-steps-iuf.htm.md)
- [Using HTML5/Flash Uploader at Runtime](https://www.aurigma.com/docs/us8/using-image-uploader-flash-at-runtime.htm.md)
