Skip to content

Commit

Permalink
Merge pull request #90 from rkeithhill/rkeithhill/is24-config-scriptargs
Browse files Browse the repository at this point in the history
Fixes #24 - you can now use the launch.json args prop to send args to…
  • Loading branch information
daviwil committed Feb 7, 2016
2 parents a1a805f + bf83a3f commit 2bcc084
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
1 change: 1 addition & 0 deletions examples/.vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"type": "PowerShell",
"request": "launch",
"program": "${file}",
"args": [],
"cwd": "${file}"
}
]
Expand Down
19 changes: 18 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@
"key": "ctrl+K ctrl+f",
"when": "editorTextFocus && editorLangId == 'powershell'"
}

],
"commands": [
{
Expand Down Expand Up @@ -127,6 +126,14 @@
"type": "string",
"description": "Absolute path to the PowerShell script to launch under the debugger."
},
"args": {
"type": "array",
"description": "Command line arguments to pass to the PowerShell script.",
"items": {
"type": "string"
},
"default": []
},
"cwd": {
"type": "string",
"description": "Absolute path to the working directory. Default is the current workspace.",
Expand All @@ -141,6 +148,7 @@
"type": "PowerShell",
"request": "launch",
"program": "${file}",
"args": [],
"cwd": "${file}"
}
]
Expand All @@ -166,6 +174,14 @@
"type": "string",
"description": "Absolute path to the PowerShell script to launch under the debugger."
},
"args": {
"type": "array",
"description": "Command line arguments to pass to the PowerShell script.",
"items": {
"type": "string"
},
"default": []
},
"cwd": {
"type": "string",
"description": "Absolute path to the working directory. Default is the current workspace.",
Expand All @@ -180,6 +196,7 @@
"type": "PowerShell x86",
"request": "launch",
"program": "${file}",
"args": [],
"cwd": "${file}"
}
]
Expand Down

0 comments on commit 2bcc084

Please sign in to comment.