Welcome Guest, Not a member yet? Register   Sign In
CI's relationship with xdebug
#1

Note: This might be completely unrelated to CI, but I've only noticed it while developing CI apps ant not normal php apps.

Hi, So I got php-debug (a step-through debugger) working on Visual Studio Code for Linux. Here is how I did it http://codinginthecold.blogspot.fi/2016/...g-for.html

Problem is, when I'm working on a CI app, I sometimes get the following...

Quote:A PHP Error was encountered

   Severity: Core Warning
   Message: Module 'xdebug' already loaded
   Filename: Unknown
   Line Number: 0
   Backtrace:

Does CI have some kind of setting that detects xdebug? I couldn't find reference of it in the docs.

Thanks.
Reply
#2

I managed to find a solution. Removing zend_extension="/usr/lib/php5/20121212/xdebug.so" from php.ini seems to make the error go away while the debugger works as expected.
Reply




Theme © iAndrew 2016 - Forum software by © MyBB