debug open directory