"'A' Packet Returned an Error: 8" Is Displayed After msDebug Runs the run Command in Docker

Symptom

In Docker, after the msDebug tool runs the run command, the following error message is displayed:

(msdebug) run
'A' packet returned an error: 8
(msdebug)
...

Solution

The possible cause is that the debugger fails to disable address space layout randomization. Run the following command to avoid this problem:

...
(msdebug) settings set target.disable-aslr false
...