VS Code supports variable substitution inside strings in launch.json and has the following predefined variables: ${workspaceFolder} – the path of the folder opened in VS Code ${workspaceRootFolderName} – the name of the folder opened in VS Code without any slashes (/) ${file} – the current ope