Welcome Guest, Not a member yet? Register   Sign In
Phpstorm with CI & Xdebug
#1

Is it possible to use CI with Xdebug using Phpstorm ? Debugger doesn't stop at breakpoint for example in my controller/model, always reaches only index.php. I triend remote debug, web application, and with listening for PHP Debug Connecitons + Xdebug helper. Nothing work. Here is my php.ini conf 
[XDEBUG]
zend_extension = C:\xampp\php\ext\php_xdebug-2.4.1-7.0-vc14.dll
xdebug.remote_enable=1
xdebug.remote_port=9001
xdebug.profiler_enable=1
xdebug.remote_handler="dbgp"
xdebug.profiler_output_dir="xampp\tmp"
xdebug.remote_log="C:\xampp\tmp\xdebug.log"
xdebug.trace_output_dir="C:\xampp\tmp"
xdebug.idekey = "PHPSTORM"
xdebug.remote_autostart=1
Reply
#2

have you tried the eap or public preview version? they just added support for codeigniter but its not in the official release version yet
public preview version:
https://blog.jetbrains.com/phpstorm/2016...c-preview/

this is the codeigniter support announcement (but don't download this version - the one above is more current)
https://blog.jetbrains.com/phpstorm/2016...-163-6512/
Reply
#3

Its in phpStorm 2016.2.2 I just updated mine
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply
#4

I have just updated to 2016.2.2 and still have the same problem with debugger I also tried the latest version of EAP. Support for CI is turn on automatically? I haven't seen any notification and also can't find any mention of the CI in the options.
Reply
#5

It's auto-complete for CI methods etc.
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply
#6

CI support will be available in the next version of PhpStorm, not 2016.2.2, but 2016.3: https://blog.jetbrains.com/phpstorm/2016...c-preview/
Reply
#7

i posted those links but had not tried it. just downloaded latest EAP but it does not appear to be doing anything for codeigniter libraries etc - at least on my setup. if anyone has had success with this please post. otherwise the method using an autocomplete file in application/config is still working http://forum.codeigniter.com/thread-6364...#pid325791
Reply
#8

I also did not feel integration IDE in my code-styling, I'm still using a solution of the above-mentioned link anyway still my main problem boils down to the debugging.Currently, I do not need to use it but in the future it may be necessary; Is debugger does not work at the level of the interpreter? It is necessary to support from the IDE?
Reply
#9

maybe this will help?
https://www.youtube.com/watch?v=GokeXqI93x8
recent hour long video tutorial about xdebug and phpstorm. and if you get it working please post
Reply
#10

About the new version (2016.3) that is now live what they support is:

"So far we've bundled CodeIgniter code style: Settings->Editor->Code Style->PHP->Set From... We're planning to extend support in the future versions."
Reply




Theme © iAndrew 2016 - Forum software by © MyBB