Before setting the developer mode, make sure that the generated classes and Object Manager entities are clear. Otherwise, you may face unexpected errors. Once that is clear, follow the steps below: Step 1: Delete the generated/code and generated/metadata directories’ contents Step 2: Next, set the mode After the mode is set, you will see the message: “Enable developer mode.”