Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
This is pretty hard to repro outside of tests because of how small the window of opportunity is. But in the tests, it can happen under load, because
Fix microsoft#1901: Race between IDE and server connecting to the adapter Use "evaluate" request without "frameId" to import ptvsd into the debuggee as soon as server attaches. If the adapter is spawned by the server, wait for server to connect if IDE connects first. Fix test_subprocess to use the new test API, and add a check for ptvsd being loaded in the child process.