But if setting debug=False, then it works like normal. Here, it's complaining about flask, but in all reported cases of Pants users, the issue was instead their first party code. A user found last ...