# Debug copy path copies only 1000 objects

**URL:** https://discourse.nodered.org/t/debug-copy-path-copies-only-1000-objects/93204
**Category:** General
**Created:** [17 November 2024 11:58 UTC](https://discourse.nodered.org/t/debug-copy-path-copies-only-1000-objects/93204 "2024-11-17T11:58:51Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![Kundepuu](https://avatars.discourse-cdn.com/v4/letter/k/bcef8e/32.png) [@Kundepuu](https://discourse.nodered.org/u/Kundepuu)
#### Post date: [17 November 2024 11:58 UTC](https://discourse.nodered.org/t/debug-copy-path-copies-only-1000-objects/93204/1 "2024-11-17T11:58:51Z")

</div>

What is easiest way to copy also those objects [1000 … 3843] in pic?  
if copy array path it copy only [0-999] ...

 ![noderedforum3](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/5/2/52becfdb28371a1a1aa7d9862853a4dbee91317c.png)

---

<div class="post-metadata">

### Author: ![bakman2](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bakman2/32/6207_2.png) [@bakman2](https://discourse.nodered.org/u/bakman2)
#### Post date: [17 November 2024 12:06 UTC](https://discourse.nodered.org/t/debug-copy-path-copies-only-1000-objects/93204/2 "2024-11-17T12:06:01Z")

</div>

In `settings.js` you will find: `- debugMaxLength` set it to a longer length and restart node-red.

---

<div class="post-metadata">

### Author: ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)
#### Post date: [17 November 2024 12:44 UTC](https://discourse.nodered.org/t/debug-copy-path-copies-only-1000-objects/93204/3 "2024-11-17T12:44:21Z")

</div>

> [@Kundepuu](#):
>
> What is easiest way to copy also those objects [1000 … 3843]

@bakman2 suggestion is the "easiest" way

HOWEVER, this WILL slow Node-RED down and I do NOT recommend increasing the `debugMaxLength`

Instead, just change the `debug` node to a `file` node and write the data to file - where you can watch it change in real time in a decent editor (like VS CODE)

---

<div class="post-metadata">

### Author: ![E1cid](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/e1cid/32/77971_2.png) [@E1cid](https://discourse.nodered.org/u/E1cid)
#### Post date: [17 November 2024 12:49 UTC](https://discourse.nodered.org/t/debug-copy-path-copies-only-1000-objects/93204/4 "2024-11-17T12:49:41Z")

</div>

Or send the message to console and copy there. Or you can install the [live debug](https://flows3.nodered.org/flow/b8bf66d114af8eac4afd5d288f3f4a72) subflow and send the message to another browser tab

---

<div class="post-metadata">

### Author: ![Kundepuu](https://avatars.discourse-cdn.com/v4/letter/k/bcef8e/32.png) [@Kundepuu](https://discourse.nodered.org/u/Kundepuu)
#### Post date: [17 November 2024 13:44 UTC](https://discourse.nodered.org/t/debug-copy-path-copies-only-1000-objects/93204/5 "2024-11-17T13:44:25Z")

</div>

All supposes was Ok., but my actual need was only this time quickly and easily copy values.  
I tested bakman2 wink, but I lost data [1000 … 3843]..  
Good luck not valuable data logging.  
Steve-Mcl file wink I have used as well E1cid consolo.log wink. First time my data logging was over 3000 objects, so now I know that 1000 length limit, and I will test also live debugging soon.  
Thanks to everyone

---

<div class="post-metadata">

### Author: ![bakman2](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bakman2/32/6207_2.png) [@bakman2](https://discourse.nodered.org/u/bakman2)
#### Post date: [17 November 2024 14:54 UTC](https://discourse.nodered.org/t/debug-copy-path-copies-only-1000-objects/93204/6 "2024-11-17T14:54:48Z")

</div>

Keep in mind that this is used for 'debugging', not logging. Actually you are looking at context.  
If you want to get the values use another mechanism, eg. a database.

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)
#### Post date: [15 February 2025 14:55 UTC](https://discourse.nodered.org/t/debug-copy-path-copies-only-1000-objects/93204/7 "2025-02-15T14:55:12Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
