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

Symptom

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

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

Possible Cause

This error may be related to address space layout randomization.

Solution

Run the following commands to avoid this problem:

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