Skip to content

Instantly share code, notes, and snippets.

@leonkunert
Created May 5, 2014 15:52
Show Gist options
  • Select an option

  • Save leonkunert/0eb0e7a5dc48012cce0f to your computer and use it in GitHub Desktop.

Select an option

Save leonkunert/0eb0e7a5dc48012cce0f to your computer and use it in GitHub Desktop.

Revisions

  1. leonkunert created this gist May 5, 2014.
    13 changes: 13 additions & 0 deletions debug.sublime-snippet
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,13 @@
    <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>