IT:AD:Code:HowTo:Create a Config File
Summary
Debugging depends on a json file being found in the directory you are developing in.
Process
Click on the Settings icon that looks like a gear.
Visual Studio Code will prompt you to Select Environment. eg: Choose PowerShell.
Then Visual Studio Code will auto create a debug configuration settings file in the same folder.
It looks like the following:
{
"version": "0.2.0",
"configurations": [
{
"name": "PowerShell",
"type": "PowerShell",
"request": "launch",
"program": "${file}",
"args": [],
"cwd": "${file}"
}
]
}