A plugin console debug for Vitejs
- 🍰 Console Debug for vite and rollup.
npm i vite-console-debug@latest -D
Basic
import { defineConfig } from 'vite';
import react from '@vitejs/plugin-react';
import ConsoleDebug from 'vite-console-debug/vite';
// https://vitejs.dev/config/
export default defineConfig({
plugins: [react(), ConsoleDebug()],
});
export interface PluginOptions {
exclude?: string[];
noConsole?: boolean;
disableLaunchEditor?: boolean;
}