tree: 0ad6539fa6f557034d7b597c1b51cc6520d64c94 [path history] [tgz]
  1. runtime/
  2. scripts/
  3. src/
  4. worker/
  5. .gitignore
  6. .npmignore
  7. .prettierignore
  8. index.d.ts
  9. index.js
  10. jest-integration.config.json
  11. LICENSE
  12. package.json
  13. README.md
  14. tsconfig.json
  15. tslint.json
packages/@weex/plugins/debug-server/README.md

@weex-cli/debug-server

Remote debug server for Weex Debug.

index.d.ts


interface DevtoolOptions { channelId: string port: number ip: string [key: string]: any } interface Devtool extends EventEmitter { /** * 关闭Devtool服务 * * @memberof Devtool */ close ():void /** * 获取生成的socket地址 * * @type {{ * entry: string * inspector: string * native: string * debugger: string * }} * @memberof Devtool */ socket: { entry: string inspector: string native: string debugger: string } /** * 获取Runtime托管的地址 * * @type {string} * @memberof Devtool */ runtime: string } declare module '@ali/switchboard' { /** * 用于启动Devtool服务接口 * * @export * @param {DevtoolOptions} options * @returns {Devtool} */ export function start (options: DevtoolOptions): Devtool }