Show milliseconds for Dates in the debugger / watches

I work with timestamps that have millisecond precision. Is it possible to display milliseconds for Date objects in the Debugger Variables panel?

Right now Dates display their .toString(), and being able to show the .toISOString() instead would be great, and also solve the problem of seeing dates in the local timezone, when you may want to see them in UTC instead.

1 comment
Comment actions Permalink

There is currently no way to customize the variables representation, please vote for https://youtrack.jetbrains.com/issue/WEB-24515 to be notified on any progress with this feature

For now, I can only suggest using .toISOString() in watches to get the result in preferred format

0

Please sign in to leave a comment.