Skip to content

Instantly share code, notes, and snippets.

@leonkunert
Created May 5, 2014 15:52
Show Gist options
  • Save leonkunert/0eb0e7a5dc48012cce0f to your computer and use it in GitHub Desktop.
Save leonkunert/0eb0e7a5dc48012cce0f to your computer and use it in GitHub Desktop.
PHP - Debug Snippet for Sublime Text
<snippet>
<content><![CDATA[
echo '<pre>';
var_dump(${1:this});
echo '</pre>';
exit;
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>debug</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<scope>source.php</scope>
<description>Debug for PHP</description>
</snippet>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment