What
Under MacOS, following the directions for setting up the address sanitizer results in an error in VSCode stating that "Property environment is not allowed." Apparently, the CodeLLDB extension requires environment variables to be specified in separate env properties rather than a single environment property.
Then, edit the "environment" property in your launch.json. If there’s already an empty "environment": [], replace it. If there isn’t one, add it after the "args" property.
Proposed
The fix is to add the following property instead:
What Under MacOS, following the directions for setting up the address sanitizer results in an error in VSCode stating that "Property environment is not allowed." Apparently, the CodeLLDB extension requires environment variables to be specified in separate
env
properties rather than a singleenvironment
property.Where VSCode tutorial, Sanitizers section
Current language
Proposed The fix is to add the following property instead: