Should @__DIR__ give a path to the directory of the current file?

Thank you everybody for your answers.

So what do you suggest to me, how to get a path to the directory of the current file, If I run code in VS? Unfortunately, @_ DIR _ doesn’t help.