Open justarandomgeek opened 1 year ago
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.