GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — [Question] How do I enable millisecond diff? · Issue #940 · debug-js/debug

[Question] How do I enable millisecond diff? #940

New issue
Copy link
New issue
Copy link
Open
Open
[Question] How do I enable millisecond diff?#940
Copy link

Description

@vedantroy
vedantroy
opened on Aug 14, 2023
Issue body actions

The debug package shows a very nice millisecond diff feature:

image

But for some reason, in my logs, I don't see it. (Although I do see timestamps). I prefer seeing millisecond diff, over timestamps. How can I enable the millisecond diff? I'm using debug 4.3.4.

It might have to do with the fact that my logs are printing to docker-compose output? Not sure.

Activity

  1. official-burak commented on Aug 26, 2026

    @official-burak
    official-burak
    on Aug 26, 2026
    More actions

    The +Nms suffix only prints when colors are on. docker-compose usually has no TTY on stderr, so debug falls back to ISO timestamps.

    DEBUG_COLORS=1 docker compose up
    

    Same for a child process with piped stderr. DEBUG_HIDE_DATE only drops the timestamp; it does not turn the diff back on.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402520 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.