Debugging in includes
Hi Folks,
I have a directory structure in /var/www/html that has four document root directories, plus an includes directory.
The includes directory is used by all four web applications. The apache config points to /var/www/html/ROOTDIR for each of the apps.
I have this in a vagrant box, and I have the /var/www/html in the guest mapped to ~/vagrant/www on the host.
I have the include directory showing up under Extgernal Libraries. I set this in settings, languages and frameworks, php,
I can debug and trace through each of the apps, but when I get to a class that is included, the debugger stops in the class, showing the stack down in the debug panel 'frames' section, but the debugger doesn't open the included file, nor follow through it. The only way I can tell where I am is by the linenumber in the frames panel, and the variables (which are correct.)
Do I have this set up right? Is there a better way to deal with this includes directory?
Thanks, Ed Greenberg
请先登录再写评论。
Hello,
Did you specify the local/remote path for this library in Settings | Languages & Frameworks | PHP | Servers?
Is there anything added to File | Settings | Languages & Frameworks | PHP | Debug | Skipped Paths?
Does it work if you enable Run > Break at first line in PHP scripts?