# Overview
The library can directly launch a debugger panel, including: Vela's aiot-devtools-frontend panel, and a mini-game debugging panel.

# Installation
## npm
```bash
npm i @aiot-toolkit/devtools-fe-lib
```
## yarn
```bash
yarn add @aiot-toolkit/devtools-fe-lib
```

# Usage
## Launch the custom debugger panel for vela
### openVelaDevtoolsFe({ host, port })
- params：{ host, port }
- host: the host of CDPServer
- port: the port of CDPServer
```js
import { openVelaDevtoolsFe } from '@aiot-toolkit/devtools-fe-lib'

(async () => {
  try {
    await openVelaDevtoolsFe({ host: '127.0.0.1', port: 5560 })
  } catch(err) {
    // handle(err)
  }
})()
```

