Home > Backend Development > PHP Tutorial > sublime3 adds php7 debugging sublime shortcut keys sublime text 3 Chinese sublime text3 registration code

sublime3 adds php7 debugging sublime shortcut keys sublime text 3 Chinese sublime text3 registration code

WBOY
Release: 2016-07-29 08:51:59
Original
1872 people have browsed it

Configure sublime3 php debugging in mac environment
Under the menu bar tools >> Build System >> New Build System
The contents of the pop-up file are as follows:

<code>{
    "<span>cmd</span>": <span>[<span>"/usr/local/php7/bin/php"</span>, <span>"$file"</span>]</span>, 
    "<span>file_regex</span>": <span><span>"^(...*?):([0-9]*):?([0-9]*)"</span></span>, 
    "<span>selector</span>": <span><span>"source.php"</span></span>}
</code>
Copy after login

Save the name as php.sublime-build,

The saved directory can be clicked on the menu bar Sublime Text >> Preferences >> Browse Packages, and then in the User directory You can find the php7.sublime-build file you just created.

/usr/local/php7/bin/php needs to be changed to your php execution path. If you enter php in the terminal, you can execute the command, or you can use php directly.

Then just write a php file and test it, OK. From now on, you can use COMMAND + B to debug directly on sublime. There is no need to call the terminal and then cd the file directory, and then php so-and-so.
Post a picture:
sublime text 3,sublime text,sublime text 2,sublime text 3 插件,sublime text 3 破解,sublime 插件,sublime 快捷键,sublime text 3 中文,sublime text3 注册码

').addClass('pre-numbering').hide(); $(this).addClass('has-numbering').parent().append($numbering); for (i = 1; i ').text(i)); }; $numbering.fadeIn(1700); }); });

The above introduces sublime3 to add php7 debugging, including sublime content. I hope it will be helpful to friends who are interested in PHP tutorials.

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template