node-red / node-red/node-red

Cannot reset debug node message counter

Open
#3,936 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature node
Dominant language
JavaScript
Stars
23.7k
Forks
3.9k
Avg merge
12h 23m
Merged PRs (30d)
22

Description

As touched on here,

Resetting the value when the node is restarted is good enough for now. Although I wouldn't lose sleep if it support msg.resetCount as well.

I propose we should implement a means of resetting the debug counter.

Contributor guide

Open the contributing guide

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.

Research direction

Review the debug node's current counter lifecycle and the discussion in issue #3514. Compare resetting the value when the node restarts with supporting msg.resetCount, then define and verify the chosen reset behavior so the counter reliably returns to zero.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
devtools
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.