Help with CodeIgniter 4.0.4 Debugging in VS Code |
Hello,
Am new to PHP and from NodeJS dev. I would like to know how to set up debugging PHP especially CodeIgniter in VS Code. I Installed PHP latest and CodeIGniter latest and created appStarter project and able to serve using "php spark serve" in port 9000. I would like to set break points and run the code igniter project and debug it. I explored so many SO posts and Xdebug, PHP Debug but non helped. Any help or guidence much appreciated. Thank you.
1) Edit the env file in the root and add this:
Code: #-------------------------------------------------------------------- 2) Save the file as .env 3) To turn off the debug bar just rename the file back to env 4) SEE: CodeIgniter 4 User Guide - Testing What did you Try? What did you Get? What did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )
(08-16-2020, 07:52 AM)InsiteFX Wrote: 1) Edit the env file in the root and add this: Thank you InsiteFX for the reply, will try and let you know. |
Welcome Guest, Not a member yet? Register Sign In |