[Question] How do I enable millisecond diff?

Open
#940 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
45/100
Issue type
Documentation
Clarity
Needs clarification
Activity status
Active
Tech stack
javascript
Domain
observability

Research direction

Start by checking the debug 4.3.4 logging configuration and how output is rendered through Docker Compose. Confirm whether millisecond diffs can be enabled for this setup, then document the required configuration or explain the limitation.

Written by the indexing model from the issue text.

Description

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.

Dominant language
JavaScript
Stars
11.5k
Forks
992
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from debug-js/debug

All issues in debug-js/debug

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.