# vite-plugin-eruda-plus **Repository Path**: lyf/vite-plugin-eruda-plus ## Basic Information - **Project Name**: vite-plugin-eruda-plus - **Description**: vite 调试工具栏插件 - **Primary Language**: TypeScript - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2022-05-30 - **Last Updated**: 2023-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Vite Plugin Eruda > A vite plugin help you automatically open debugging tools in the development environment > Modified from https://www.npmjs.com/package/vite-plugin-eruda ### Install ```sh $ npm i --save-dev vite-plugin-eruda-plus ``` ### Usage ```javascript import eruda from 'vite-plugin-eruda-plus' module.exports = { plugins: [ // others eruda() ] } ``` ### Options #### `debug` - **Type:** `boolean | undefind` - **Default:** `'undefind'` #### `eruda_src` - **Type:** `string` - **Default:** `'https://unpkg.com/eruda@2.4.1/eruda.js'` Optional. If not, process.env.node will be used by default `process.env.NODE_ENV !== "production"` standard opens the debugging mode. If there is, this parameter takes precedence. ### License MIT