# Copy path of a variable from Debug Node does not work

**URL:** <https://discourse.nodered.org/t/copy-path-of-a-variable-from-debug-node-does-not-work/56841>\
**Category:** General\
**Tags:** debugging\
**Created:** [18 January 2022 08:02 UTC](https://discourse.nodered.org/t/copy-path-of-a-variable-from-debug-node-does-not-work/56841 "2022-01-18T08:02:26Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![smart\_hendrik](https://avatars.discourse-cdn.com/v4/letter/s/e95f7d/32.png) [@smart\_hendrik](https://discourse.nodered.org/u/smart_hendrik)\
**Post date:** [18 January 2022 08:02 UTC](https://discourse.nodered.org/t/copy-path-of-a-variable-from-debug-node-does-not-work/56841/1 "2022-01-18T08:02:26Z")

</div>

Hello all,

I have a quick question for you - maybe someone already had the same problem...!

I regularly use the debug Node and search for a variable in a XML file to copy the path. In the beginning this worked great, now it doesn't work at all. I can pin the value but cannot copy the value or the path. When I click the corresponding button my clipboard remains empty...  
Restart of server does not help..

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/a/a/aab581fea28d7c7de79df3d3751a90b628a05a3d.png)

[https://nodered.org/docs/user-guide/messages](https://nodered.org/docs/user-guide/messages)

Hope someone has an idea and solution.

Greetings Hendrik (from Germany)

---

<div class="post-metadata">

**Author:** ![Trying\_to\_learn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/trying_to_learn/32/28400_2.png) [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Post date:** [18 January 2022 08:13 UTC](https://discourse.nodered.org/t/copy-path-of-a-variable-from-debug-node-does-not-work/56841/2 "2022-01-18T08:13:30Z")

</div>

Hi Hendrick.

Just to start establishing things, what happens if you have a nominal web page open and drag select some text then press `ctl <c>` (copy) then open a _note pad_ type program and paste?

Next, try a `node-red` screen and with the debug window as show, select some/any text from there and _copy_ (`ctl <c>`) it and see if you can paste it.

Hope to hear back soon.

---

<div class="post-metadata">

**Author:** ![UnborN](https://avatars.discourse-cdn.com/v4/letter/u/4491bb/32.png) [@UnborN](https://discourse.nodered.org/u/UnborN)\
**Post date:** [18 January 2022 08:19 UTC](https://discourse.nodered.org/t/copy-path-of-a-variable-from-debug-node-does-not-work/56841/3 "2022-01-18T08:19:57Z")

</div>

Hello ..

Have you recently upgraded your node-red to the 2.1.5 version ?  
If yes .. It is a known issue that copy to clipboard doesnt work if you are accessing your node-red server without `localhost` (if you are on the same computer) or without `https`.

The gatekeepers have knowledge of it and it will be fixed in the new release.  
you can read more about it [here](https://github.com/node-red/node-red/issues/3357)

---

<div class="post-metadata">

**Author:** ![smart\_hendrik](https://avatars.discourse-cdn.com/v4/letter/s/e95f7d/32.png) [@smart\_hendrik](https://discourse.nodered.org/u/smart_hendrik)\
**Post date:** [18 January 2022 08:34 UTC](https://discourse.nodered.org/t/copy-path-of-a-variable-from-debug-node-does-not-work/56841/4 "2022-01-18T08:34:48Z")

</div>

Hello Trying to learn,

copying text works in both cases you mentioned. I guess the error pattern mentioned by UnborN applies to me. I have NodeRed running as an add-on in HomeAssistant (newest version), which is why the version seems to be labeled in a different way.

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/4/9/496ae70759d07fae80a1d969d23be077e19ac636.png)  
 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/2/3/2360132b00e13d07d77cc39b0b64f105ea56c649.png)

Hope that the issue is fixed in a few days.

---

<div class="post-metadata">

**Author:** ![Trying\_to\_learn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/trying_to_learn/32/28400_2.png) [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Post date:** [18 January 2022 08:36 UTC](https://discourse.nodered.org/t/copy-path-of-a-variable-from-debug-node-does-not-work/56841/5 "2022-01-18T08:36:34Z")

</div>

No problems.

Sorry, but I guess I needed to check/ask.

Glad you got it resolved in the mean time anyway.  
(Sometimes you have to ask the dumb questions.)

😉

---

<div class="post-metadata">

**Author:** ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)\
**Post date:** [18 January 2022 08:37 UTC](https://discourse.nodered.org/t/copy-path-of-a-variable-from-debug-node-does-not-work/56841/6 "2022-01-18T08:37:06Z")

</div>

We will get 2.1.6 released today.

It's then up to the HA project to pick it up and update their package - we aren't involved with that.

---

<div class="post-metadata">

**Author:** ![smart\_hendrik](https://avatars.discourse-cdn.com/v4/letter/s/e95f7d/32.png) [@smart\_hendrik](https://discourse.nodered.org/u/smart_hendrik)\
**Post date:** [18 January 2022 08:40 UTC](https://discourse.nodered.org/t/copy-path-of-a-variable-from-debug-node-does-not-work/56841/7 "2022-01-18T08:40:28Z")

</div>

Hello Unborn,  
thank you for your solution. That is exactly what applies to me. I have NodeRed running in HomeAssistant as an add-on. Is it possible to simply downgrade to V 2.1.4 here? Alternatively - when should we expect 2.1.6? 😅

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/b/e/bedec7d581405dde4937b5015ab7f9eeb476d16a.png)

---

<div class="post-metadata">

**Author:** ![UnborN](https://avatars.discourse-cdn.com/v4/letter/u/4491bb/32.png) [@UnborN](https://discourse.nodered.org/u/UnborN)\
**Post date:** [18 January 2022 08:51 UTC](https://discourse.nodered.org/t/copy-path-of-a-variable-from-debug-node-does-not-work/56841/8 "2022-01-18T08:51:20Z")

</div>

> [@smart\_hendrik](#):
>
> Is it possible to simply downgrade to V 2.1.4 here?

I dont think its worth downgrading .. as Knolleary said a new version is coming today .. so keep an eye on the node-red forum for its release and then ask in the Home-Assistant Forum to update their add-on.

---

<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:** [1 February 2022 08:52 UTC](https://discourse.nodered.org/t/copy-path-of-a-variable-from-debug-node-does-not-work/56841/9 "2022-02-01T08:52:14Z")

</div>

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