I am trying to debug a wordpress plugin. I have XDebug working and I am able to use breakpoints and such.

My issue is with the plugin_dir_url(__FILE__) call.

It results to It should be

I am guessing it has something to do with the setup of the debugger in PHP Storm, but for the life of me I can't figure out what.


1 Answer 1


Never mind. After long hours, I realized I was using JQuery in the .js and not jQuery. The difference one letter cap makes.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.