debugging - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5) +--- Forum: Installation & Setup (https://forum.codeigniter.com/forumdisplay.php?fid=9) +--- Thread: debugging (/showthread.php?tid=77940) |
debugging - tkhara - 11-07-2020 Hi, Just started with code igniter today. I wanted to know what was the way to configure codeigniter and vs code to debug my application by setting breakpoints? I am on linux mint and i use the php spark serve command to run the app in the local dev environment. Thanks. TJ. RE: debugging - blagi - 11-19-2020 You should use Xdebug (php extension). Here are some links that helped me: https://dev.to/vidamrr/how-to-debug-php-using-visual-studio-code-1gna https://www.srijan.net/blog/tutorial-using-xdebugger-with-php-vscode-to-debug https://code.visualstudio.com/docs/editor/debugging |