agentsclimarketplace

Cbdebugger

Skill ColdBox/skills/modules/cbdebugger

Use this skill when installing, configuring, or using the CBDebugger visual debugging panel in a ColdBox application. Covers enabling the panel in development, performance profiling, SQL query tracking, cache monitoring, request inspection, and ensuring the debugger is disabled in production.From its SKILL.md

Install
npx -y skills add ColdBox/skills --skill cbdebugger

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

2 things to look at

  • no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
  • 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

2.6 KB, 518 tokens by cl100k_base, as published. Nobody here has run it

CBDebugger Skill

When to Use This Skill

Load this skill when:

  • Installing or enabling the CBDebugger module
  • Diagnosing performance bottlenecks in development
  • Tracking SQL queries and their execution times
  • Inspecting RC/PRC/CGI scopes during debugging
  • Configuring the debugger to appear only in specific environments
  • Ensuring debugger is never exposed to end-users in production

Installation

box install cbdebugger

Configuration

Always gate the debugger behind an environment check:

// config/ColdBox.cfc
moduleSettings = {
    cbdebugger = {
        // Only enable in development — never expose in production
        enabled        = getSetting( "environment" ) == "development",
        renderDebugPanel = true,
        expanded       = false,         // collapse panel by default

        // Optional: restrict to specific IPs
        ipList         = "127.0.0.1",   // comma-separated list

        // Profiling options
        showTracers    = true,
        queryMonitor   = {
            enabled    = true,
            logQueries = false          // set true to log all queries
        }
    }
}

Features

FeatureDescription
Performance ProfilingRequest timings and execution paths
SQL Query TrackingAll DB queries with execution time and bindings
Cache MonitoringCacheBox statistics and operations
Request InspectionRC, PRC, CGI, form, and URL scopes
Tracer MessagesCustom tracer() calls inline in code
Exception DetailFull stack traces with local variable context

Usage in Handlers / Flow

// Add a debug tracer message (only visible when debugger is enabled)
tracer( "About to call payment service", { orderId : rc.orderId } )

// Then continue your logic
paymentService.charge( rc.orderId )

Production Safety Checklist

  • enabled must evaluate to false in staging and production
  • Never deploy with ipList empty and enabled = true on a public server
  • Use getSetting("environment") or .env variables — not hard-coded true
  • Panel renders at bottom of HTML responses — harmless when disabled but wasteful at scale

Documentation

Full documentation: https://coldbox-debugger.ortusbooks.com

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.