diff --git a/views/plugin_dbui/debug.html b/views/plugin_dbui/debug.html
new file mode 100644
index 0000000000000000000000000000000000000000..a0c5455b47cf2063a79b943c90e0ae581fafae76
--- /dev/null
+++ b/views/plugin_dbui/debug.html
@@ -0,0 +1,33 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
+<html>
+    <head>
+        <!-- $Id$ -->
+        
+        <meta http-equiv="content-type" content="text/html; charset=utf-8" />
+        <meta name="author" lang="en" content="{{=response.author}}" />
+        <meta name="keywords" content="{{=response.keywords}}" />
+        <meta name="description" content="{{=response.description}}" />
+        
+        <title>{{=request.application}}</title>
+        
+        <!-- extjs css -->
+        <link rel="stylesheet" type="text/css" href="{{=pextjs}}/resources/css/ext-all.css"/>
+        <link rel="stylesheet" type="text/css" href="{{=pextjs}}/examples/shared/icons/silk.css"/> 
+
+        <!-- extjs javascript library -->
+        <script type="text/javascript" src="{{=pextjs}}/adapter/ext/ext-base-debug.js"></script>
+        <script type="text/javascript" src="{{=pextjs}}/ext-all-debug.js"></script>
+        <script type="text/javascript" src="{{=pextjs}}/src/locale/ext-lang-{{=lg}}.js"></script>
+
+        <!-- dbui api -->
+        <script type="text/javascript" src="/{{=request.application}}/plugin_dbui/get_api"></script>
+        
+        <!-- dbui + user javascript source code and main script-->
+        {{for el in response.files:}}
+        <script type="text/javascript" src="{{=el}}"></script>{{pass}}
+
+    </head>
+    <body>
+        <div id='appmain'></div>
+    </body>
+</html>
diff --git a/views/plugin_dbui/index.html b/views/plugin_dbui/index.html
index e3f831eda435405c53cbd88c1dae8bf322726db5..39a3897c62d2b5387b12703e6782259f71694dec 100644
--- a/views/plugin_dbui/index.html
+++ b/views/plugin_dbui/index.html
@@ -1,7 +1,7 @@
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
 <html>
     <head>
-        <!-- $Id: plugin_dbui.html 1129 2011-02-19 13:50:53Z legac $ -->
+        <!-- $Id$ -->
         
         <meta http-equiv="content-type" content="text/html; charset=utf-8" />
         <meta name="author" lang="en" content="{{=response.author}}" />