# pluginDebug

启动插件调试 

## API 调用

### QN.app.invoke({api:'pluginDebug', query})

#### API 调用入参

参数名             | 类型       | 是否可选 | 默认值 | 含义
:-------------- | :------- | :--- | :-- | :-----------------------------------------------------------------------------------------------------------------------
`query`         | `Object` |      |     |
`query.proxyIP`  | `string` |  可选    |  10.0.2.156 | 代理服务器IP
`query.proxyPort`  | `string` |  可选    |  8800 | 代理服务器端口
`query.appkey`  | `string` |  可选    |  2134567 | 调试插件appkey


#### API 响应结果

参数名      | 类型  | 示例 | 含义
:------- | :-- | :----- | :---
`result` | `*` |        | 请求响应


#### 调用示例

```javascript
QN.app.invoke({
      api:'pluginDebug',
      query:{
                proxyIP : '10.0.2.156'  ,
                    proxyPort : '8800'  ,
                    appkey : '2134567'  
            
      }
}).then(result => {
    console.log(result);
}, error => {
    console.log(error);
});
    
```
