# debugLayer Observable propertys not work

**URL:** <https://forum.babylonjs.com/t/debuglayer-observable-propertys-not-work/4054>\
**Category:** Bugs\
**Created:** [June 22, 2019, 10:32pm UTC](https://forum.babylonjs.com/t/debuglayer-observable-propertys-not-work/4054 "2019-06-22T22:32:48Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dad72](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/dad72/32/13_2.png) [@Dad72](https://forum.babylonjs.com/u/Dad72)\
**Post date:** [June 22, 2019, 10:32pm UTC](https://forum.babylonjs.com/t/debuglayer-observable-propertys-not-work/4054/1 "2019-06-22T22:32:48Z")

</div>

I wanted to test the observable of the inspector, but no result.

```
scene.debugLayer.onPropertyChangedObservable.add((result) =>
{			
        console.log(result);		
});

```

The console does not see anything, not even a null or undefined. The observable is not run.

And when I click on an element of the scene explorer to unfold it (Scene, Node …) No matter which one I click I receive this message in the console:

> Uncaught TypeError: e.target.className.indexOf is not a function  
> at HTMLDocument.mouseup (translator.js:448)

The PG:

> **[Babylon.js Playground](https://www.babylonjs-playground.com/#0JNT7G)**
>
> Babylon.js playground is a live editor for Babylon.js WebGL 3D scenes

I also get an alert “Deprecation” in the inspector.bundle file (it’s a change in chrome 70 since october 2018) :

> [Deprecation] Percentages row tracks and gutters for indefinite height grid containers will be resolved against the intrinsic height instead of being treated as auto and zero respectively. This change will happen in M70, around October 2018

---

<div class="post-metadata">

**Author:** ![Deltakosh](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/deltakosh/32/26635_2.png) [@Deltakosh](https://forum.babylonjs.com/u/Deltakosh)\
**Post date:** [June 24, 2019, 3:31pm UTC](https://forum.babylonjs.com/t/debuglayer-observable-propertys-not-work/4054/2 "2019-06-24T15:31:07Z")

</div>

Right! This is a bug 🙂  
I will fix that for next nightly

Thanks! (You can ignore the deprecation warning)

---

<div class="post-metadata">

**Author:** ![Dad72](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/dad72/32/13_2.png) [@Dad72](https://forum.babylonjs.com/u/Dad72)\
**Post date:** [June 24, 2019, 3:46pm UTC](https://forum.babylonjs.com/t/debuglayer-observable-propertys-not-work/4054/3 "2019-06-24T15:46:26Z")

</div>

OK, thanks.  
No problem for the warning.

---

<div class="post-metadata">

**Author:** ![Dad72](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/dad72/32/13_2.png) [@Dad72](https://forum.babylonjs.com/u/Dad72)\
**Post date:** [June 25, 2019, 4:26pm UTC](https://forum.babylonjs.com/t/debuglayer-observable-propertys-not-work/4054/4 "2019-06-25T16:26:14Z")

</div>

The observable now works with the changes made. but there is an error that still persists:

> Uncaught TypeError: e.target.className.indexOf is not a function  
> at HTMLDocument.mouseup (translator.js:448)

This error happens when we select a node ( + Nodes, + Material…)

---

<div class="post-metadata">

**Author:** ![Deltakosh](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/deltakosh/32/26635_2.png) [@Deltakosh](https://forum.babylonjs.com/u/Deltakosh)\
**Post date:** [June 25, 2019, 4:48pm UTC](https://forum.babylonjs.com/t/debuglayer-observable-propertys-not-work/4054/5 "2019-06-25T16:48:43Z")

</div>

Well I do not have the error on the PG you linked

---

<div class="post-metadata">

**Author:** ![Dad72](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/dad72/32/13_2.png) [@Dad72](https://forum.babylonjs.com/u/Dad72)\
**Post date:** [June 25, 2019, 6:23pm UTC](https://forum.babylonjs.com/t/debuglayer-observable-propertys-not-work/4054/6 "2019-06-25T18:23:01Z")

</div>

It may be because I use a translator on my browser, I suppose.

So it’s an error in my “ImTranslator” Chrome extension.
