I have the same problem in Delphi Alexandria: the program runs, but debugging suddenly stopt working ( "Unable to create process, ..."). Then I followed Peter Jones' solution above: remove C:\Program Files (x86)\Embarcadero\Studio\22.0\bin\dbkw64_28_0.exe and placed it back (as administrator). Restarting Delphi. And now I get (in debugging mode): Debugger Assertion Failure: "apiOK" in ..\win32src\w64mgr.cpp at line 79
Don't know how to solve this and the original issue is not solved either. Unless I did something wrong, I cannot recommend following Peter's solution ...