I have this user sniped to quickly inserts a debug command but when done, it doesn't show the "$" sign.
"Debug MySQL": {
"prefix": "debug",
"body": [
"lib::$db->debug = true;"
],
"description": "debug MySQL"
},
When debug
used I get this:
lib::db->debug = true;
Any ideas what might be the problem?
You need to put other dollar to escape the first one: lib::$$db->debug = true;
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.