-
Notifications
You must be signed in to change notification settings - Fork 79
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
testsupport: allow disabling timeouts with stdio connection #286
Comments
Sorry, which timeouts from testsupport? And it's not clear why that is hanging the process. It has been a bit since I looked at this code, apologies, but I want the dev experience to be good. |
The ones that it says it disables when using a tcp port in .start()? I've once again done a horrible hack for now, but... seriously? having to do silly stuff like this is nuts! await dc.start();
// fake "socket" to disable timeouts
(dc as any)._socket = { end: ()=>{} }; |
Further investigation has revealed that these timeouts were merely a red herring for my actual issue (stdin pipes breaking due to testrunner console weirdness), but an option to disable them for testing still seems worthwhile. |
The hang occurs becuase:
|
I've been struggling significantly with getting the testsupport client to run my debugadapter, and in the process have needed to attach a debugger to my debug adapter running under the testsupport client, but it does not run in network mode, so I keep getting cut off by the timeouts from testsupport, and i can't seem to disable them. Additionally, when I set the timeout to a very long time (several minutes), it hangs the process for that long after debugging ends, even if nothing else is going on.
The text was updated successfully, but these errors were encountered: