How to enable STL range checks (vector, etc)

The following generates a prior definition warning from #include <__config>. But that has an ifndef in it. I'm in C++17 on Xcode latest (14.5). Is this documented anywhere?

-D_LIBCPP_ENABLE_ASSERTIONS=1

How to enable STL range checks (vector, etc)
 
 
Q