Skip to main content
Module

x/puppeteer/mod.ts>debug

A port of puppeteer running on Deno
Latest
variable debug
import { debug } from "https://deno.land/x/puppeteer@16.2.0/mod.ts";

A debug function that can be used in any environment.

Examples

Example 1

const log = debug('Page');

log('new page created')
// logs "Page: new page created"

type

(prefix: string) => (...args: unknown[]) => void