Skip to content

Commit

Permalink
Update the VSCode task for launching SU in Ruby debug mode.
Browse files Browse the repository at this point in the history
  • Loading branch information
thomthom committed Apr 26, 2021
1 parent e370168 commit e3891c9
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 32 deletions.
52 changes: 20 additions & 32 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,44 +4,32 @@
"version": "2.0.0",
"tasks": [
{
"label": "Debug in SketchUp 2017",
"label": "Launch SketchUp in Ruby Debug mode",
"type": "shell",
"command": "ruby",
"command": "skippy",
"args": [
"${workspaceFolder}/tools/debug-sketchup.rb",
"17"
"sketchup:debug",
"${input:sketchupVersion}"
],
"runOptions": {
"reevaluateOnRerun": false
},
"problemMatcher": []
},
{
"label": "Debug in SketchUp 2018",
"type": "shell",
"command": "ruby",
"args": [
"${workspaceFolder}/tools/debug-sketchup.rb",
"18"
],
"problemMatcher": []
},
{
"label": "Debug in SketchUp 2019",
"type": "shell",
"command": "ruby",
"args": [
"${workspaceFolder}/tools/debug-sketchup.rb",
"19"
],
"problemMatcher": []
},
}
],
"inputs": [
{
"label": "Debug in SketchUp 2020",
"type": "shell",
"command": "ruby",
"args": [
"${workspaceFolder}/tools/debug-sketchup.rb",
"20"
"id": "sketchupVersion",
"type": "pickString",
"description": "SketchUp Version",
"options": [
"2021",
"2020",
"2019",
"2018",
"2017"
],
"problemMatcher": []
"default": "2021"
}
]
}
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,6 @@ group :development do
gem 'rubocop-sketchup', '~> 0.4.0'
gem 'rubyzip', '~> 1.2'
gem 'sketchup-api-stubs'
gem 'skippy', '~> 0.4.2.a'
gem 'solargraph'
end

0 comments on commit e3891c9

Please sign in to comment.