New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weâll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Automatically enable debugMode
when recording with Replay
#49027
base: main
Are you sure you want to change the base?
Conversation
This PR doesn't have any linked issues. Please open an issue that references this PR. From there we can discuss and prioritise. |
0c4a6b5
to
14d9488
Compare
It's a little annoying that we have to probe |
what kind of an automated signal could we probe? I mean - is there even any other way to accomplish this than to probe a global (either directly checking something on |
I was hoping for an environment variable |
Is there any particular reason why you are more OK with env var than with a So my intuition was kinda like yours - but I don't mind any of those ways to detect something. It seems that this global object ( If you are strongly opposed to checking this global object then I can circle back to the Replay team and ask if there is any chance that they would add some env var but I wonder if that's truly necessary. |
I'm not sure if you have heard about Replay (https://www.replay.io/) and I will totally understand if you decide to reject this PR.
However, the cost is small and it would make my life way easier :p as I'm using Replay to debug TypeScript quite a bit lately. I also highly encourage anyone interested in trying it out as it makes diagnosing and exploring code much easier. For the context - it is a time travel debugger that actually works with arbitrary scriptsð