inspect-process
inspect-process copied to clipboard
Option to not close on process exit
Hey (me again),
I'm using inspect
to profile my library. For this I need it to execute some piece of code and then inspect the reports inside DevTools. But DevTools closes right after my script ends.
~An easy workaround is to put some setInterval
at the end. But it feels, you know...~
No workaround is able to keep the process alive, there is some sort of time out that kills it.
It would be awesome to have some sort of keep-alive
flag that would let the user interact with the DevTools even after there is nothing to run. When the user closes DevTools, the process would be killed (which is not the case right now with the workaround).
Thanks!
Seems like a reasonable request.