import{isNode}from"../environment.js";export const debug=e=>isNode?require("debug")(e):(...o)=>{const s=globalThis.__PUPPETEER_DEBUG;if(!s)return;("*"===s||(s.endsWith("*")?e.startsWith(s):e===s))&&console.log(`${e}:`,...o)};