How to get a debug output from the find command?

With an

lsof -p `pidof find`

you can see, where is your find command currently.

With a

strace -p `pidof find`

you can check, what it is doing currently.

None of them have really beautiful output - they are debug tools, but the little bit of learning their output is also really useful.


The man file for find has debug options

you probably want find -D search -type d -name "something" 2>&1

it doesn't seem to be in the man file but find -D help

prints

search Navigate the directory tree verbosely