vite-plugin-dbg
v1.0.0
Published
```js dbg(); dbg("hello"); dbg(1 + 1, () => {}, Symbol()); /** */ dbg(undefined); ```
Downloads
7
Maintainers
Readme
vite-plugin-db
dbg();
dbg("hello");
dbg(1 + 1, () => {}, Symbol());
/** */ dbg(undefined);
will compile to
console.log("[index.js:1:0] []");
console.log('[index.js:2:0] [<string>"hello"]');
console.log("[index.js:3:0] [<number>1 + 1, <function>() => {}, <symbol>Symbol()]");
console.log("[index.js:4:7] [<undefined>undefined]");