CodeLobster IDE

Free cross-platform PHP IDE (HTML, PHP, CSS, JavaScript code editor) with support Drupal, Joomla, Twig, JQuery, BackboneJS, LaravelJS, Node.js, Fhalcon, CodeIgniter, CakePHP, Laravel, Magento, MeteorJS, Phalcon, Symfony, VueJS, WordPress, Yii
It is currently Sun Dec 08, 2019 2:50 am

All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Codeigniter xdebug
PostPosted: Wed Feb 20, 2019 12:08 pm 
Offline

Joined: Wed Jan 30, 2019 8:16 am
Posts: 10
Hi,
How to use xdebug correctly with codeigniter.
For example I add brake point and do Debug URL http://localhost/CITutorial/index.php/site/insertDB
Xdebug stops at index.php (default CI file, not mine) where are no brake points (picture).
Is it possible somehow to force xdebug to stop only on breakpoints when you are debugging codeigniter project ? Now I have to click "Step over" like 8 or more times until it reaches brake point.


Attachments:
CIlobster.php.png
CIlobster.php.png [ 28.8 KiB | Viewed 7697 times ]
Report this post
Top
 Profile  
Reply with quote  
 Post subject: Re: Codeigniter xdebug
PostPosted: Wed Feb 20, 2019 12:43 pm 
Offline
Site Admin

Joined: Wed Sep 12, 2007 2:18 pm
Posts: 3467
Hi.

1) If You press F5 in this point then debugger will run PHP script until next breakpoint appers only.

2) You can press F5 on index.php at first to run PHP script to your first breakpoint.

Regards,
Codelobster Team.


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 4 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2016 phpBB Group