DylanD Posted August 10, 2018 Share Posted August 10, 2018 He everyone, I'm trying to debug my scene but I can't open the debug layer. I am using Babylonjs 3.3.0-aplha.13 code: scene.debugLayer.show({popup:true}); gives this error The error I get is Please update your browser to open the js inspector in an external view. I am using google chrome but it is up to date, I get the same error in safari which is also up to date. When I switch to scene.debugLayer.show(); It opens but does not show anything except the black layout. Any ideas what I can do to get the debug layer working? Quote Link to comment Share on other sites More sharing options...
Pryme8 Posted August 10, 2018 Share Posted August 10, 2018 Try a different browser first, yu might have pop ups turned off on your chrome. (No clue I’m just guessing) Sebavan 1 Quote Link to comment Share on other sites More sharing options...
DylanD Posted August 13, 2018 Author Share Posted August 13, 2018 On 8/10/2018 at 4:42 PM, Pryme8 said: Try a different browser first, yu might have pop ups turned off on your chrome. (No clue I’m just guessing) yea that was working for a while but I believe when I switch the 3.3.0-alpha.13 it stopped working il test it some more today. I have so far tested safari and chrome, neither worked. Il update if anything changes. Quote Link to comment Share on other sites More sharing options...
Sebavan Posted August 13, 2018 Share Posted August 13, 2018 I double checked and can unfrotunately not repro. Do you have any error in the console? Quote Link to comment Share on other sites More sharing options...
DylanD Posted August 13, 2018 Author Share Posted August 13, 2018 Yes there is, I hadn't noticed it sorry. this is the error: Helpers.ts:144 Uncaught TypeError: Cannot read property 'firstChild' of undefined at Function.e.CleanDiv (Helpers.ts:144) at e.refresh (Inspector.ts:338) at new e (Inspector.ts:228) at t._createInspector (babylon.js:30) at HTMLScriptElement.n.onload (babylon.js:4) Quote Link to comment Share on other sites More sharing options...
Sebavan Posted August 13, 2018 Share Posted August 13, 2018 I am trying smthg I ll publish to master tonight, you can try it again tomorrow: https://github.com/BabylonJS/Babylon.js/pull/4931 DylanD 1 Quote Link to comment Share on other sites More sharing options...
DylanD Posted August 13, 2018 Author Share Posted August 13, 2018 cool, thanks Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.