Also enable querytrace when --enable-developer is specified. (cherry picked from commit 84f95ddb25)
84f95ddb25