Cesium Sandcastle Debugging

Is there any way to view the cause of error in cesium Sandcastle to properly debug the issue that I am facing ?
I keep on getting the same error “Error while accessing layer.json” in the console window.

That particular error sounds like a bad url. Opening the development tools for your particular browser (normally you can hit the F12 button) will show you more info.

The easiest way to get to debug your specific code inside of Sandcastle is to add a “debugger;” statement right before the code you want to debug. Then have the browser dev tools open and it will break on that line.