Last active
October 4, 2017 17:46
-
-
Save nhobi/4d8ee334f38db027acc3360b2c3e988f to your computer and use it in GitHub Desktop.
A quick, one-line PHP debugging snippet for Sublime Text. Think Laravel's dd() helper function for non-Laravel things.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<snippet> | |
<content><![CDATA[ | |
echo '<pre>'; var_dump(\$${1:variable_name_here}); echo '</pre>'; exit(); | |
]]></content> | |
<!-- Optional: Set a tabTrigger to define how to trigger the snippet --> | |
<tabTrigger>dd</tabTrigger> | |
<!-- Optional: Set a scope to limit where the snippet will trigger --> | |
<scope>source.php</scope> | |
</snippet> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment