How to enable profiling in CodeIgniter

category:  CodeIgniter, Web development

When you are developing the application or website with CodeIgniter, you should enable the profiling feature. It will help you see the useful data such as Benchmarks, data from $_GET, memory usage, data from $_POST, URI string, class/method, active databases, HTTP headers, session data, config variables. To enable it, you will add the code to your controller. I add the profiling enable in the __construct method of my class. It is important you must add “parent::__construct()” in the __construct method. … Read More