759print('here1');(lazysoci.al)posted 3 months ago bysabreW4K3@lazysoci.alin programmer_humor@programming.devView comments42 commentssavehidereportSort:HotTopControversialNewOldYou are viewing a single thread.View all comments View context [ +- ]quink@lemmy.ml9 points3 months agoThat’s console.trace() for all you JS devs out there. permalinksavereportparentreply[ +- ]lemmesay@discuss.tchncs.de1 point3 months agoI also use group and groupend to nicely collapse different logs. and table when i’m feeling funny. permalinksavereportparentreply[ +- ]alqloe@lemmy.dbzer0.com3 points3 months ago*I always combine that with objects with the shorthand notation. So you always know what variable has what value without having to remember in what order you printed the variables. console.trace({i, list}); // {i: 1, list: [0, 1, 2]} permalinksavereportparentreply