Created
May 21, 2022 07:06
-
-
Save ibnumardini/579c2962e5f2403da7e6bf8dd06f48e6 to your computer and use it in GitHub Desktop.
vscode snippet, for better debugging in php
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
{ | |
"PRP TAG": { | |
"prefix": "prp", | |
"body": [ | |
"echo \"<pre>\". print_r([", | |
"\t\"$TM_FILENAME - $TM_LINE_NUMBER\",", | |
"\t$$1", | |
"], 1) .\"</pre>\";$2" | |
], | |
"description": "PRP TAG" | |
}, | |
"PRP TAG DIE": { | |
"prefix": "prpd", | |
"body": [ | |
"echo \"<pre>\". print_r([", | |
"\t\"$TM_FILENAME - $TM_LINE_NUMBER\",", | |
"\t$$1", | |
"], 1) .\"</pre>\"; die;$2" | |
], | |
"description": "PRP TAG DIE" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment