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.


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

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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