Detecting memory leaks in UXP plugins

We experience general lagginess of InDesign, especially after a few hours of active use.
We suspect it might be related to a possible memory leak in one of a few UXP plugins we maintain.
Aside from looking at the code and detecting eventual causes for leaks manually, are there any tools that could allow us to profile performance or otherwise monitor the memory usage of any / all UXP plugins?