I'm running Window 7 | 64-bit. I'm trying to setup Visual Studio Code as my debugging environment for Sketchup 2016 extensions, for which tasks.json must be setup in VSCode to execute Sketchup with command line arguments. I'm receiving what looks like a general error relating to json files, but i a mot familiar with json and have struggled all day to find a workaround.
I'm receiving the following error:
> Executing task: &'C:/Program Files/SketchUp/SketchUp 2016/SketchUp.exe' -rdebug 'ide port=7000' <
& was unexpected at this time. The terminal process terminated with exit code: 1
in relation to the following tasks.json
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
{
"label": "Debug SketchUp 2016",
"type": "shell",
"command": "open -a '/Applications/SketchUp 2016/SketchUp.app' --args -rdebug 'ide port=7000'",
"windows": {
"command": "&'C:/Program Files/SketchUp/SketchUp 2016/SketchUp.exe' -rdebug 'ide port=7000'"
}
}
]
}
I've tried various syntax approaches such using \\ and removing the & (for which I can't find documentation)
Can anyone see how to fix the syntax?
Thanks Alex