# DebugLayer on Babylon 3.3

**URL:** <https://forum.babylonjs.com/t/debuglayer-on-babylon-3-3/1757>\
**Category:** Questions\
**Created:** [March 7, 2019, 3:50pm UTC](https://forum.babylonjs.com/t/debuglayer-on-babylon-3-3/1757 "2019-03-07T15:50:04Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![nathanidp](https://avatars.discourse-cdn.com/v4/letter/n/e274bd/32.png) [@nathanidp](https://forum.babylonjs.com/u/nathanidp)\
**Post date:** [March 7, 2019, 3:50pm UTC](https://forum.babylonjs.com/t/debuglayer-on-babylon-3-3/1757/1 "2019-03-07T15:50:04Z")

</div>

Hello !  
I want to use the BabylonJs Inspector to debug my code. I simply wrote `scene.debugLayer.show()` and also tried to change the `BABYLON.DebugLayer.InspectorURL` but nothing happened. Nothing shows up and there’s no particular DOM element when I display the devTools.  
I use vueJS for my app maybe it has something to do with this ?

Any idea of how to use the debugLayer ? My current version is Babylon 3.3.0, I tried to update to the 4.0.0-alpha but everything broke since some elements I currently use are not usable anymore in the 4.0.

---

<div class="post-metadata">

**Author:** ![sebavan](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/sebavan/32/57_2.png) [@sebavan](https://forum.babylonjs.com/u/sebavan)\
**Post date:** [March 7, 2019, 3:54pm UTC](https://forum.babylonjs.com/t/debuglayer-on-babylon-3-3/1757/2 "2019-03-07T15:54:49Z")

</div>

About the inspector URL did you try : [http://cdn.babylonjs.com/inspector/babylon.inspector.bundle.js](http://cdn.babylonjs.com/inspector/babylon.inspector.bundle.js)

I am really interested to know more about what is broken in 4.0 ??? We should fix it as you should not encounter regressions.

---

<div class="post-metadata">

**Author:** ![nathanidp](https://avatars.discourse-cdn.com/v4/letter/n/e274bd/32.png) [@nathanidp](https://forum.babylonjs.com/u/nathanidp)\
**Post date:** [March 7, 2019, 4:00pm UTC](https://forum.babylonjs.com/t/debuglayer-on-babylon-3-3/1757/3 "2019-03-07T16:00:42Z")

</div>

Thank you ! I just had to change the link !

This is my code  
`import BABYLON from “babylonjs”;

export default class SnapRectangle extends BABYLON.TransformNode {`

And I have an error `Cannot read property 'TransformNode' of undefined`

---

<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:** [March 7, 2019, 4:42pm UTC](https://forum.babylonjs.com/t/debuglayer-on-babylon-3-3/1757/4 "2019-03-07T16:42:54Z")

</div>

Yes as @sebavan mentioned this should work flawlessly  
Which npm version are you on? Make sure to have everything on 4.0 alpha 32

---

<div class="post-metadata">

**Author:** ![sebavan](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/sebavan/32/57_2.png) [@sebavan](https://forum.babylonjs.com/u/sebavan)\
**Post date:** [March 7, 2019, 4:57pm UTC](https://forum.babylonjs.com/t/debuglayer-on-babylon-3-3/1757/5 "2019-03-07T16:57:55Z")

</div>

could you try import \* as BABYLON from “babylonjs”;
