A vite plugin help you automatically open debugging tools in the development environment
$ yarn add vite-plugin-eruda
import eruda from 'vite-plugin-eruda'
module.exports = {
plugins: [
// others
eruda()
]
}
-
Type:
boolean | undefind
-
Default:
'undefind'
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.
MIT