WebStorm 2017.2 Help

Setting Labels to Variables, Objects and Watches

Introduction

You can add your own label to a variable, object, or watch and then reference it as if it were a local variable <label-name>_DebugLabel defined in the same context where the expression is evaluated. WebStorm also displays these labels in suggestion pop-up lists for code completion in the Evaluate Expression dialog box.