![]() ![]() Once you have the package control installed, you should start Sublime Text 3. If you haven’t done so already, make sure you can install packages by installing package control. In this case, we are going to install the Xdebug package. One of the strengths of Sublime is the fact that you can extend it easily with packages. ![]() The remote log is not necessary, but in case of problems, it’s the place where you can find information about errors that occurred.ĭon’t forget to restart your webserver! Setting up Sublime Text 3 However, If you are using vagrant for example, you will be using something like 10.0.2.2, depending on where Xdebug can find your system. In general you will be using 127.0.0.1 as your host. We need to configure xdebug by adding the following to your php.ini file, or even better, to an xdebug.ini file as described here under How-to On Linux. I will be using the latest version: Sublime Text 3. Make sure that Xdebug is working by checking if it’s listed in your phpinfo(). If you are uncertain on how to get this done, please have a look at the link provided in the introduction. Getting startedįirst of all, we need to have the PHP Xdebug extension installed. In this article, we are going to have a look at how we can debug using Xdebug in combination with Sublime Text. More than a year ago, Shameer wrote an article on SitePoint about how you can debug your application using Xdebug and Netbeans. ![]() Writing code perfectly the first time around is hard and only a few (if any) succeed at it. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |