Skip to content

Fixes #88 by adding cwd initialConfig and configProps to package.json #89

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 10 additions & 9 deletions examples/.vscode/launch.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
{
"version": "0.2.0",
"configurations": [
{
"name": "PowerShell",
"type": "PowerShell",
"request": "launch",
"program": "${file}"
}
]
"version": "0.2.0",
"configurations": [
{
"name": "PowerShell",
"type": "PowerShell",
"request": "launch",
"program": "${file}",
"cwd": "${file}"
}
]
}
20 changes: 16 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,12 @@
"properties": {
"program": {
"type": "string",
"description": "Workspace relative path to the PowerShell script."
"description": "Absolute path to the PowerShell script to launch under the debugger."
},
"cwd": {
"type": "string",
"description": "Absolute path to the working directory. Default is the current workspace.",
"default": "."
}
}
}
Expand All @@ -135,7 +140,8 @@
"name": "PowerShell",
"type": "PowerShell",
"request": "launch",
"program": "${file}"
"program": "${file}",
"cwd": "${file}"
}
]
},
Expand All @@ -158,7 +164,12 @@
"properties": {
"program": {
"type": "string",
"description": "Workspace relative path to the PowerShell script."
"description": "Absolute path to the PowerShell script to launch under the debugger."
},
"cwd": {
"type": "string",
"description": "Absolute path to the working directory. Default is the current workspace.",
"default": "."
}
}
}
Expand All @@ -168,7 +179,8 @@
"name": "PowerShell x86",
"type": "PowerShell x86",
"request": "launch",
"program": "${file}"
"program": "${file}",
"cwd": "${file}"
}
]
}
Expand Down