Website profiles · Technology insights · Alternatives

bcons.dev

Optimize PHP debugging with bcons. View errors, warnings, and data in real-time for a more efficient debugging process.

No paid content found
Visit website
Profile views 7 Outbound visits 4 Normal
PHP Debug with bcons | Debug Your PHP Code Efficiently Full homepage screenshot

At a glance

Category
Development
Language
English
Paid-content signal
No paid content foundObserved
Registered
2023
Hosting
CloudflareInferred
HTTPS certificate trusted
PassedObserved
Last updated

Website review

This review may include AI-generated content and is not individually verified. Domain, certificate and other facts come from the observed data on this page.

What is bcons?

bcons is a PHP debugging tool that shows your debug output in a browser console instead of in server logs. It has two stated goals: display PHP messages in a clear, organized way, and implement the browser Console API for PHP so debugging is faster.

What it shows

  • Log messages and variable values at chosen points in your code
  • Errors and warnings, with source file name, line number, and stack trace
  • Session data, cookies, and payload information
  • Separate tabs for messages, with time, domain, source file, and trace data

How it works

bcons sends an HTTP header that tells your PHP code to forward error and debug messages to the bcons console. That console runs either as a browser devtools extension or on the bcons website. A described setup flow covers three steps.

Who it suits

  • PHP developers tired of reading error_log() output and FastCGI stderr dumps in server logs
  • Anyone debugging request-scoped problems such as sessions, cookies, or form payloads, where seeing the data next to the request matters
  • Teams that want warnings and errors surfaced with file and line context without opening a full step debugger

Trade-offs to weigh

  • It is a message-and-data console, not a step debugger; if you need breakpoints and call-stack stepping, pair it with Xdebug.
  • Console output is visible in the browser, so avoid logging secrets or customer data in shared or production environments.
  • Your PHP code must be able to send the enabling header, which may not fit every hosting or proxy setup.

Next step: open a page that already produces a warning, confirm the message appears with file, line, and trace, and use Ctrl+click on a message element to copy it. Compare with Xdebug if you also need interactive breakpoints.

How does bcons compare to using error_log() and server logs for PHP debugging?

bcons is a browser-based console for PHP debug output, while error_log() and server logs are plain-text records written outside your request. The practical difference is where you look and how fast you can read it, not whether debugging is possible.

H3 Where each approach fits

Aspect bcons error_log() / server logs
Output location Browser console (devtools extension or the bcons site) Server log file or stderr
Structure Separate tabs for messages, errors, warnings, session, cookies, payload Interleaved text lines
Error detail Source file, line number, and stack trace reported to the console Whatever your log format includes
Reading experience Clickable, copyable message elements Scroll and grep
Best for Interactive, request-by-request debugging on a page you can open Background jobs, cron, CLI scripts, production incidents, anything with no browser attached

H3 What this means in practice

The strongest argument for bcons is the case shown on its own page: a checkout request where the log contains the current user, order ID, payload, session, cookies, and a redirect decision all in one stderr blob. In error_log() that is a wall of text you parse by eye. bcons presents the same kind of data in separate tabs with time, domain, source file, and trace, and lets you Ctrl+click a message to copy it. For a developer tracing a single failing request in a browser, that is a real speed gain.

The trade-offs are equally concrete. A browser console requires a browser session and, per the page, an HTTP header that enables message sending, so it is not a substitute for logs on a queue worker, a cron job, or a server you cannot open in a browser. Server logs also persist and aggregate across requests, which is what you want when the bug only appears for one user at 3 a.m. and nobody is watching a console.

H3 A sensible split

Use bcons while actively developing and reproducing an issue in a browser, and keep error_log() or structured server logging for everything headless, long-running, or post-incident. If you want a comparable browser-console workflow from another tool, Xdebug is the long-established PHP debugger, and Tracy offers a debug bar and logger for PHP applications; both are worth knowing when deciding what belongs in your daily loop.

Next step: pick one real bug you recently chased through server logs, reproduce it with bcons open, and note how many lookups you skipped. That tells you whether the browser console earns a permanent place in your workflow.

How do I set up bcons in my PHP project?

bcons is set up by installing its PHP package in your project and then opening the bcons console to receive the debug output. The tool works by sending an HTTP header that enables PHP error and debug messages to be forwarded to the console, which is available as a browser devtools extension or on the bcons website.

The basic steps

  1. Install the bcons PHP package in your project using Composer.
  2. Initialize bcons in your PHP code so it can send the enabling header and forward messages.
  3. Open the bcons console — either the browser devtools extension or the bcons website.
  4. Trigger your code and watch errors, warnings, logged messages, and variable values appear in the console.

The site describes the setup as a three-step process, and the console itself is live: you can click around in it, and Ctrl+click on any message element to copy it to the clipboard.

What you get once it's running

  • Errors and warnings with source file name, line number, and stack trace
  • Logged messages and variable values at set points in your code
  • Session data, cookies, and payload information in separate tabs
  • Time, domain, source file, and trace data for each message

A practical example

Suppose you're debugging an order checkout flow. Instead of digging through server logs like the FastCGI stderr output shown on the bcons site, you'd see the same information — current user, order ID, session, cookies, payload, and the "user does not have billing information" warning — organized into tabs in the console. That makes it much faster to spot which piece of data is missing or wrong.

Deciding whether it fits

If you already use a full debugger like Xdebug with an IDE, bcons is less about step-debugging and more about quick, readable output of messages and variable states in the browser. It's most useful when you want lightweight visibility into what your PHP code is doing without leaving the browser or tailing log files.

For the exact package name, initialization snippet, and any configuration options, check the setup instructions on bcons.

What types of debug data can bcons display in its console?

bcons is built to surface the data you'd normally hunt for across server logs, in a single browser console. Based on the site's own description, its console can display:

  • Log messages you send from your PHP code, useful for tracking variable values at specific points.
  • Errors and warnings, each reported with the source file name, line number, and a stack trace.
  • Session data and cookies.
  • Payload information, such as request parameters or form/API data.
  • Context fields per message: time, domain, source file, and trace data.

The site illustrates this with a checkout example where a single request produced messages about the current user, an order ID, session contents, cookies, a missing billing record, a user lookup, a company purchase check, and a redirect — each shown in separate tabs rather than one wall of text.

A practical scenario: you're debugging a failing order flow on a local PHP app. Instead of tailing a FastCGI error log and mentally separating each PHP message: line, you send the same values to bcons and read them as distinct, labeled entries. Ctrl+clicking a message copies it, which helps when you want to paste a stack trace into an issue or share it with a teammate.

Next step / decision criterion: if your main pain is that error output is buried in server logs and you want errors, warnings, session, cookie, and payload data visible in the browser while you work, bcons targets exactly that. If you need step-through breakpoint debugging rather than message and error inspection, this is a different kind of tool — check what your existing setup already provides before switching. You can see the live console behaviour for yourself at bcons.

Can I use bcons with a PHP framework like Laravel or Symfony?

Yes. bcons is a PHP debugging tool, not a framework-specific one, so it can be used alongside Laravel, Symfony, or plain PHP. According to the bcons site, it works by sending an HTTP header that tells the PHP code to enable sending error and debugging messages to the bcons console, which is available as a browser devtools extension or on the bcons website bcons. That mechanism is independent of any particular framework, so framework choice does not block it.

What that means in practice

  • Errors, warnings, and logged messages from your Laravel or Symfony code can surface in the bcons console, including source file name, line number, and stack trace, per the site.
  • You can log messages or track variable values at chosen points in your code, which is useful for inspecting request data, session data, cookies, and payloads during a request.
  • Because the console is a browser devtools extension or a web console, you view output in the browser rather than digging through server logs.

Trade-offs to weigh

Consideration Why it matters
Framework debug tooling Laravel and Symfony already ship debugging integrations that hook into their own request lifecycle and container. bcons is a general PHP channel, so expect to add your own logging calls rather than get automatic framework-level introspection.
Production safety Debug output sent to the browser is appropriate for local or staging work. Anything that exposes session, cookie, or payload data should not be enabled where real users can see it.
Setup path The site describes a three-step setup. Follow the current steps on the site rather than assuming a framework package exists.

A concrete next step

If you are debugging a Laravel checkout flow, for example, place a bcons log call right before the order is persisted and another inside the payment callback. You then see the variable values, session contents, and any warnings side by side in the console, with the file and line that produced each entry, instead of reconstructing the sequence from a wall of FastCGI stderr text. For Symfony, the same approach works around a controller action or a service method.

Decision criterion

Choose bcons when you want a framework-agnostic, browser-based view of PHP messages and variables and you are comfortable adding log calls yourself. If you need deep, automatic insight into Laravel or Symfony internals, use the framework's own debug tooling first and treat bcons as a complementary channel for your own checkpoints.

Is bcons free to use or does it require a paid plan?

bcons does not publicly state whether it is free or requires a paid plan. The site has a "Pricing" link in its navigation, which suggests some commercial or tiered model may exist, but the page evidence provided does not include pricing details, plan names, or payment options.

What this means for you

If cost is a deciding factor, treat bcons as "pricing not yet confirmed" rather than assuming it is free. You can check the official site directly at bcons and look for the Pricing page before committing it to a workflow.

Practical next step

Install or open the bcons console and test it on a small script first. If your team needs a budget-approved tool, confirm the licensing terms on the site before rolling it out.

Alternatives if you need a known-free option

If you want to compare, PHP's built-in error_log() is free and already available, though it produces the kind of dense server-log output the bcons page describes as hard to read. Xdebug is another widely used PHP debugging tool with a free open-source core, available at Xdebug.

A reasonable decision criterion: if bcons' browser-console presentation saves you meaningful time on real projects, a paid plan may be justified; if you only need occasional variable inspection, stick with free built-in logging until you confirm bcons' terms.

Related questions

More questions →
What PHP Debug Information Can You See in the bcons Console?

bcons shows PHP errors and warnings with source file, line number, and stack trace; log messages and variable values from points you set in code; and session data, cookies, and request payload — all organized into separate tabs with time, domain, source file, and trace data. This applies to any PHP codebase where you can send the bcons HTTP header to enable message forwarding, and you view results either through the browser devtools extension or on the bcons website.

Errors and warnings with full context

Any warning or error your code produces is reported to the bcons console. Each report includes:

  • Source file name
  • Line number
  • Stack trace

That means you don't have to reconstruct where a problem originated from a bare message. The trace data is attached to the message itself.

Log messages and variable values

bcons is described as a companion for debugging tasks such as logging messages or tracking the values of variables at set points in your code. So beyond automatic error capture, you can insert logging calls and inspect what a variable holds at a specific moment — the same role error_log() plays, but surfaced in the browser instead of a server log.

Session data, cookies, and payload

The console also displays:

  • Session data
  • Cookies
  • Payload information

The site's own example illustrates this. A raw FastCGI stderr log shows a checkout request for order sd34s8hd, with the payload action=orderCheckout, orderId=sd34s8hd, session userId=23, and cookies PHPSESSID and userLanguage. In bcons, those same messages appear in separate tabs rather than as one dense log line.

How messages are organized

Each message carries metadata: time, domain, source file, and trace data. Messages are split across separate tabs, which is what makes the volume in the example above readable — payload, session, and cookies each get their own place instead of being interleaved.

Two interaction details from the site: all consoles shown on the bcons page are live, and Ctrl+click on any message element copies it to the clipboard.

How the data gets there

bcons sends an HTTP header that instructs the PHP code to enable sending error and debugging messages to the bcons console. The console itself is available as a browser devtools extension or on the bcons website.

What this replaces

The comparison the site draws is against error_log() and cryptic server logs. The example above is exactly that: a multi-line FastCGI stderr dump where the useful values are buried in PHP message: prefixes. bcons keeps the same information but separates it by type and attaches source and trace metadata.

Practical notes

  • The site lists a three-step setup for the PHP debugger, but the excerpt only shows step 1, so the full sequence isn't reproduced here.
  • Pricing and contact pages exist in the site navigation; no pricing details are given in the available material, so don't assume it's free.
  • The live consoles on the bcons page are demos — clicking around them is a reasonable way to see the tab layout and message metadata before wiring it into your own project.
How bcons Displays PHP Debug Data in the Browser

bcons works by sending an HTTP header that tells your PHP code to start forwarding error and debug messages to a bcons console, which you open either as a browser devtools extension or on the bcons website. This applies when you want PHP messages — logs, variable values, errors, warnings, session data, cookies, and payload information — shown in a structured browser console instead of raw server logs.

The core mechanism

The flow has two sides that meet at a single HTTP header:

  1. A header is sent that instructs the PHP code to enable sending of error and debugging messages to the bcons console.
  2. PHP messages are forwarded to that console as they are produced.
  3. The console renders them in the browser, where you read them.

The header is the switch. Without it, PHP has no instruction to route messages to bcons, so nothing appears in the console.

Where the console lives

bcons provides its console in two forms:

  • A browser devtools extension
  • The bcons website

Both are described as places where the console is available, so you are not locked into a single viewing surface.

What you actually see

Messages are displayed in separate tabs, which keeps different kinds of data from collapsing into one stream. For each message, the console gives easy access to:

  • Time
  • Domain
  • Source file
  • Trace data

Errors and warnings are not just flagged — they are reported with the source file name, line number, and stack trace. That means when something breaks, you can jump from the console entry to the exact location in your code rather than searching server logs for a matching timestamp.

Why this replaces log-reading

The contrast is made explicit on the site: the alternative is error_log() and cryptic server logs. A raw log line can carry a lot of useful data but presents it as one dense string. For example, a single FastCGI stderr entry might contain the current user, an order ID, the payload array, session values, cookies, a billing-information check, and a redirect decision — all run together.

bcons takes that same material and splits it into tabs with time, domain, source file, and trace attached to each entry. The information is the same; the structure is what changes.

Practical details worth knowing

  • Consoles on the bcons site are live, so you can click around in them.
  • Ctrl+click on any message element copies it to the clipboard — useful when you want to paste a value or trace into an issue or a chat.

What bcons is for

The site states two main goals:

  1. Display PHP messages in a clear and organized way.
  2. Implement the browser Console API for PHP to help debug PHP code more efficiently.

So the design intent is not just prettier output — it is to give PHP the kind of console-driven workflow that browser JavaScript developers already use.

How to Set Up bcons for PHP Debugging

bcons is a PHP debugging tool that displays log messages, errors, warnings, session data, cookies, and payload information in a browser console instead of raw server logs. Setup follows three steps: enable the bcons HTTP header in your PHP code, open the bcons console (via the browser devtools extension or the bcons website), and trigger your code so messages appear. This guide is for PHP developers who want real-time debug output in the browser rather than parsing error_log() output.

What bcons Does Before You Set It Up

bcons has two stated goals:

  1. Display PHP messages in a clear, organized way.
  2. Implement the browser Console API for PHP to make debugging more efficient.

Once active, any warning or error in your code is reported to the bcons console with the source file name, line number, and stack trace. Log messages appear in separate tabs with access to the time, domain, source file, and trace data.

Prerequisites

  • A PHP application you can edit (to add the bcons header/enabling code).
  • A browser where you can install the bcons devtools extension, or access to the bcons website console.
  • The bcons library available to your PHP code (the page describes the mechanism but does not list install commands, so follow the setup instructions on bcons.dev for the current package).

Setup Steps

Step 1: Enable bcons in your PHP code

bcons works by sending an HTTP header that instructs the PHP code to enable sending error and debugging messages to the bcons console. Add the bcons enabling call to your PHP entry point or bootstrap file so the header is emitted on responses you want to debug.

Input: your PHP bootstrap or entry script. Action: include the bcons initialization so the HTTP header is sent. Expected result: responses from that script carry the bcons header, and the console is authorized to receive messages.

Step 2: Open the bcons console

The bcons console is available in two forms:

Access method When to use it
Browser devtools extension Day-to-day debugging inside your normal dev workflow
bcons website Quick checks without installing the extension

Open the console before or while you load the page you are debugging.

Step 3: Trigger your code and read the output

Load the page or run the request that executes your instrumented PHP. Messages, warnings, and errors appear in the console in real time.

Expected result: log messages, errors, warnings, session data, cookies, and payload information show up in separate tabs, each with time, domain, source file, and trace data.

What You Can Inspect After Setup

  • Log messages and variable values at set points in your code.
  • Errors and warnings, each with source file name, line number, and stack trace.
  • Session data, cookies, and payload information — the page's example shows an order checkout request where the console surfaces the current user, the requested order ID, session userId, cookies (PHPSESSID, userLanguage), and the user's billing record, all as separate messages rather than one dense log line.

Practical Tips

  • Ctrl+click any message element to copy it to the clipboard — useful for pasting a stack trace or payload into an issue or chat.
  • The consoles shown on the bcons.dev page are live, so you can click around them to see how tabs and message details behave before wiring up your own code.
  • Compare the output to the raw alternative: the same checkout flow above would otherwise appear as a single FastCGI stderr line mixing user info, payload, session, cookies, and redirect logic — hard to scan and easy to misread.

Common Setup Issues

  • No messages in the console: confirm the bcons header is actually being sent on the response. If your code path exits before the enabling call runs (early redirect, fatal error before bootstrap), the header never goes out.
  • Console open but empty for some requests: check whether the request you are testing passes through the file where you enabled bcons.
  • Wrong environment: if you enabled bcons only in a local bootstrap, staging or production requests will not report to the console.

When This Setup Fits

Use bcons when you want browser-side, real-time visibility into PHP errors, warnings, and runtime data without tailing server logs. If your workflow depends on server-side log aggregation or you cannot modify the PHP entry point to send the header, this approach will not fit as-is.

What Is bcons and What Does It Do for PHP Debugging?

bcons is a PHP debugging tool that displays debug data in your browser instead of in server logs. It has two stated goals: display PHP messages in a clear, organized way, and implement the browser Console API for PHP so you can debug PHP code more efficiently. It is relevant to you if you currently rely on error_log() and server log files to trace variables, errors, or request data in PHP.

What bcons shows you

According to the site, bcons is a companion for debugging tasks such as logging messages or tracking the values of variables at set points in your code. It also displays:

  • Errors and warnings
  • Session data
  • Cookies
  • Payload information
  • Log messages and variable values

Any warning or error in your code is reported to the bcons console with the source file name, line number, and stack trace.

How it works

bcons sends an HTTP header that instructs the PHP code to enable the sending of error and debugging messages to the bcons console. The console itself is available in two forms:

  • A browser devtools extension
  • The bcons website

So the flow is: your PHP code emits messages, the header mechanism routes them, and you read them in a browser-based console rather than in a log file.

The problem it replaces

The site frames bcons as an alternative to error_log() and cryptic server logs. Its example shows a raw FastCGI stderr dump where a single request produces a wall of PHP message: lines covering the current user, checkout request, payload array, session array, cookies array, billing status, and a redirect — all as undifferentiated text.

bcons presents that same kind of data in separate tabs, with easy access to the time, domain, source file, and trace data. In other words, the information is the same, but it is organized by type and source instead of concatenated into one log stream.

What the console experience is like

The site notes that all bcons consoles on its page are live and clickable, and that Ctrl+click on any message element copies it to the clipboard. That matters for two practical reasons:

  • You can inspect real message structure before deciding whether the format fits your workflow.
  • Copying a message element gives you a clean way to move a specific error or variable dump into a bug report or chat.

Where it fits in a debugging workflow

Use bcons when you want per-request visibility into errors, warnings, variable values, session, cookies, and payload without tailing a log file. The source file, line number, and stack trace attached to each warning or error make it suited to locating the origin of a problem rather than just confirming that one occurred.

The site describes setup as three steps, but the input material does not include the step details, so the exact installation and configuration procedure is not covered here. Check the bcons site for the current setup instructions before assuming a particular integration method.

Website Overview

Identifiable technologies and additional version or configuration signals make the service easier to fingerprint, which may help targeted scanners narrow their checks. Page metadata, canonical configuration and social previews work together to provide more consistent search and sharing presentation.

Domain and Registration

The domain has about 3 years of registration history; its current configuration provides more context than age alone. The domain uses the common .dev extension, which is not an independent safety signal.

DNS and Email

Nameservers are provided by Cloudflare, indicating managed DNS hosting. MX records point to the serviciodecorreo.es email service. No CNAME was found; the observed records resolve directly to addresses. SPF and DMARC are configured. DKIM status is unknown. TXT records include verification markers for Google. Such markers may also remain after a service stops being used.

TLS and Certificates

The public key uses EC with 256 bits. The server supplied a complete certificate chain. No organization name is present in the certificate; the available fields are consistent with domain validation. The certificate was issued within the Google Trust Services cloud or CDN ecosystem. The certificate's total validity is about 90 days, consistent with a short renewal cycle.

HTTP and Browser Security

The response lacks these common security headers: CSP, Referrer-Policy, Permissions-Policy, clickjacking protection. No X-Powered-By header was found, reducing one common source of backend fingerprinting information. The cf-ray response header indicates a CDN or caching proxy in the delivery path. No obvious internal addresses or debug information were found in the headers. The Server header identifies cloudflare without an exact version.

Technology Stack Analysis

The public page identifies WordPress 7.0.6, jQuery, Google Analytics, Cloudflare, with exact versions exposed for 1 technologies. These details can narrow vulnerability checks, although exposure alone is not a vulnerability.

Search and Social Sharing

The Generator tag identifies WordPress 7.0.6, making the publishing system easier to fingerprint. Twitter Card metadata is configured. The title has 54 characters, within a common display range. A meta description is present, with 119 characters. The observed directives allow indexing and link following.

Hosting and Email

DNSCloudflare
HostingCloudflare
Emailserviciodecorreo.es
Approximate IP geolocation (inferred; a CDN or proxy may differ from the origin server) Location unknown Inferred 104.21.92.91

Registration details

RDAP / WHOIS

Registrar1&1 Internet SE
Registered2023-10-01
Expires2027-10-01
Domain statusactive
Nameserversdrew.ns.cloudflare.com、vera.ns.cloudflare.com
DNSSECunsigned

DNS records

DNS

TypeNameValueTTLPriority
Abcons.dev104.21.92.91300—
Abcons.dev172.67.190.223300—
AAAAbcons.dev2606:4700:3031::ac43:bedf300—
AAAAbcons.dev2606:4700:3032::6815:5c5b300—
MXbcons.devmx.serviciodecorreo.es30010
NSbcons.devdrew.ns.cloudflare.com86400—
NSbcons.devvera.ns.cloudflare.com86400—
TXTbcons.devgoogle-site-verification=iwqaJo7yWrEwCFvp7cG09qsGPukRnYqFkR7uCdReBCQ300—
TXTbcons.devv=spf1 include:_spf.serviciodecorreo.es ~all300—
DMARC_dmarc.bcons.devv=DMARC1; p=none; rua=mailto:[email protected]; ruf=mailto:[email protected]300—

TLS and certificates

TLS / SSL

AssessmentNormal configuration
Supported protocolsTLSv1.2、TLSv1.3
Negotiated protocolTLSv1.3
Certificate subjectbcons.dev
IssuerGoogle Trust Services
Valid until2026-12-18T07:09 · Remaining when checked: 81 days
Verification detailsCertificate trust: Passed · Hostname match: Passed

HTTP response headers

HTTP

HeaderValue
content-typetext/html; charset=UTF-8
servercloudflare
strict-transport-securitymax-age=2592000
x-content-type-optionsnosniff

Identified technologies

WordPress 7.0.6jQueryGoogle AnalyticsCloudflare

Pages, Search and Sharing

Meta descriptionOptimize PHP debugging with bcons. View errors, warnings, and data in real-time for a more efficient debugging process.
Canonical URLhttps://bcons.dev/
LanguageEnglish (default)
Twitter Cardsummary_large_image
All bots 0 allowed · 0 disallowed

User reviews (0)

  • No reviews yet.