# Debugging ... little tweaks that perhaps can be useful

**URL:** https://discourse.nodered.org/t/debugging-little-tweaks-that-perhaps-can-be-useful/19542
**Category:** Feature Requests
**Created:** [24 December 2019 08:36 UTC](https://discourse.nodered.org/t/debugging-little-tweaks-that-perhaps-can-be-useful/19542 "2019-12-24T08:36:19Z")
**Posts on this page:** 1
**Showing post:** 9

<div class="post-metadata">

### Author: ![Christian-Me](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/christian-me/32/10774_2.png) [@Christian-Me](https://discourse.nodered.org/u/Christian-Me)
#### Post date: [24 December 2019 11:49 UTC](https://discourse.nodered.org/t/debugging-little-tweaks-that-perhaps-can-be-useful/19542/9 "2019-12-24T11:49:15Z")

</div>

Sorry ... not working (here)

```auto
node.warn('Foo speaking: ${config}');

```

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/1/17ea14d9d9c71344396ce6b21fd14b16ad70e78f.png)

And this as expected:

```auto
node.warn('Foo speaking: '+config);

```

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

and what I normaly do, nice object view but two messages:

```auto
node.warn('Foo speaking:');
node.warn(config);

```

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/6/6c87388262cf65531802c961d72e49218775e45d.png)

this works but that's not the way to do it, right?

```auto
console.log('Foo speaking:',config);

```

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/9/9e9ae0df197af578370ca09a5ff03774138b9cd9.png)

---

_[View the full topic](https://discourse.nodered.org/t/debugging-little-tweaks-that-perhaps-can-be-useful/19542)._
