When placing for example ${variable_name} inside a snippet, it should be escaped as \\${variable_name\\}, so that VScode doesn't think it's a placeholder in the snippet
For example for cortex debug, the following line is usually needed:
"cwd": "${workspaceRoot}",
With proper encoding:
"\"cwd\": \"\\${workspaceRoot\\}\",",
When placing for example
${variable_name}
inside a snippet, it should be escaped as\\${variable_name\\}
, so that VScode doesn't think it's a placeholder in the snippetFor example for cortex debug, the following line is usually needed:
"cwd": "${workspaceRoot}",
With proper encoding:"\"cwd\": \"\\${workspaceRoot\\}\",",