{"hidden":false,"children":[{"configs":{"itemId":"module"},"expanded":true,"children":[{"configs":{"quoted":"true","itemId":"text","js":"//在IDE工具栏中点击[自动获取服务端信息]按钮即可在浏览器控制台中查看这些信息\napp.log('日志信息');\napp.info('提示信息');\napp.warn('警告信息');\napp.error('错误信息');\n//直接输出对象，该对象可在浏览器端还原。\napp.log({\n  foo: 'bar',\n  date: new Date(),\n  array: [1, 2, {\n    a: '123'\n  }]\n});\n//后台代码可以在Eclipse或IntelliJ IDEA等工具下可以进行设置断点等进一步调试操作。"},"expanded":false,"children":[],"type":"string"},{"configs":{"layout":"fit","itemId":"viewport1"},"expanded":true,"children":[{"configs":{"itemId":"xwl1","file":"m?xwl=sys/dialog/dev/script-editor"},"expanded":false,"children":[],"type":"xwl"}],"type":"viewport","events":{"afterrender":"app.xwl1.setValue(\"{#text#}\", null, true);"}}],"type":"module"}],"roles":{"demo":1},"title":"服务端脚本调试","iconCls":"","inframe":false,"pageLink":""}