Why does the "Elements" pane not show anything?
I am using WebStorm 8.0.4 to develop a web app. All the source code for the app resides on my disk, and I created my project from existing files, using the "Source files are in a local directory, no Web server is yet configured" option. I use a standard JavaScript Debug configuration, pointing at an html file in the project root folder, and using Chrome (with your "JetBrains IDE Support" extension) to debug.
I am not fully familiar with WebStorm yet (I keep finding new, whizzy features I didn't know about - e.g. I found Shift-Ctrl-I to show the definition of the function at the cursor the other day - very handy!), as I have been too busy using it to play.
However, today I had a few minutes, and thought I would look at the Elements pane - the documentation says it should show the DOM for the currently visible page - but it is always blank for me, whether I am running, or paused in the debugger.
Please sign in to leave a comment.
No ideas. Is the problem specific to your application? Can you check if the problem persists when debugging a simple HTML page? an you attach a screenshot that shows up the issue? Sample project would be also helpful
I enclose a zip file containing a simple html file, a screenshot of what Chrome looks like when debugging it, and a screenshot of what WebStorm looks like, including the Elements tab (which is blank). It is actually a zip of the complete test project.
Attachment(s):
test.zip
Hmm... What LiveEdit plugin version do you use? The tabs look completely different for me in 8.0.4
Please can you attach your idea.log?
Settings/IDE Settings/Plugins/LiveEdit says Version: 999.0
Extract from idea.log enclosed.
Attachment(s):
idea.log.zip
Everything looks good, no errors reported. But same WebStorm + Live Edit version works as expected for me using your project - Elements tab shows the DOM structure - see attached screenshot
Does the problem occurs always, or as a result of certain actions (on re-running, for example)?
Attachment(s):
elements.png
I have never ever seen anything in the Elements tab :-(