Versions

  • v2

    9/13/2024
    Open: Version
    Changes from v1 to v2
    +3
    -3
    ⦚ 71 unchanged lines ⦚
    };

    export const DebuggingGuide = new Hono();
    DebuggingGuide.get("/", Debugging_Guide);
    export default DebuggingGuide.fetch;
    ⦚ 71 unchanged lines ⦚
    };

    const app = new Hono();
    app.get("/", Debugging_Guide);
    export default app.fetch;
  • v1

    9/13/2024
    Open: Version
    Changes from v0 to v1
    +3
    -3
    ⦚ 71 unchanged lines ⦚
    };

    const app = new Hono();
    app.get("/", Debugging_Guide);
    export default app.fetch;
    ⦚ 71 unchanged lines ⦚
    };

    export const DebuggingGuide = new Hono();
    DebuggingGuide.get("/", Debugging_Guide);
    export default DebuggingGuide.fetch;
  • v0

    9/13/2024
    Open: Version
    +76
    -0

    /** @jsxImportSource https://esm.sh/hono@latest/jsx **/
    import { Hono } from "https://esm.sh/hono@3.10.2";

    console.log("[Init] Starting Debugging_Guide val", new Date().toISOString());

    export const Debugging_Guide = (c: any) => {
    const html = `<!DOCTYPE html>
    <html lang="en">
    <head>
    <title>Debugging Guide</title>
    <style>
    body {
    font-family: system-ui, sans-serif;
    margin: auto;
    padding: 20px;
    max-width: 65ch;
    line-height: 1.5;
    }
    h1, h2, h3 { font-weight: 500; }
    a { color: #0077aa; }
    nav a { margin-right: 10px; }
    </style>
    </head>
    <body>
    <nav>
    <a href="https://willkrouse.com/">Home</a>
    <a href="/projects">Projects</a>
    <a href="https://twitter.com/Willthereader">Twitter</a>
    <a href="https://github.com/wkrouse">Github</a>
    </nav>
    <h1>Debugging Checklist</h1>
    <p>The classic "print-statement-debugging" techniques may work for simpler cases, but quickly get unmanageable. The checklist below is an effective way to find and fix bugs.</p>
    <ol>
    <li>
    <h3>Observe the bug</h3>
    <p>"What makes me think there is a problem?"</p>
1
Next
stevekrouse-debugging_guide.web.val.run
Updated: September 13, 2024