If you create a debug world it will work fine when you first get into it. But if you reload the world it will give you the custom dimension warning, and when you get in it will act like a normal world. You will be able to modify and destroy blocs as normal, and ordinary terrain will start generating.
Thank you for your report!
However, we are already tracking this issue, and this report is a Duplicate of MC-185282.
Please use the search function in the future to prevent duplicate reports.
Quick Links:
📓 Issue Guidelines – 💬 Community Support – 📧 Customer Support – ✍️ Feedback and Suggestions – 📖 Game Wiki