When debugging Javascript, can I make the debug window execute all getters for an object?

If my Javascript object has getters/setters for its properties, the debug window allows me to invoke the getters, but is there a way for me to invoke all of the getters on an object at once?     

1
3 comments

Yes, it is painful. Definitely, it should be improved. We are going to add setting "Automatically invoke property getter" and enable it by default. I will increase priority of this task to deliver this feature in next IDEA 14.1/WebStorm 10 EAP.

1

Hi, I'm unable to find this option in the newest WebStorm version. Can you please advice ?

0

The option hasn't been added yet: https://youtrack.jetbrains.com/issue/WEB-43050. Feel free to vote for it.

0

Please sign in to leave a comment.