it:ad:code:howto:create_a_config_file:home

IT:AD:Code:HowTo:Create a Config File

Summary

Debugging depends on a json file being found in the directory you are developing in.

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}"
        }
    ]
}

  • /home/skysigal/public_html/data/pages/it/ad/code/howto/create_a_config_file/home.txt
  • Last modified: 2023/11/04 02:18
  • by 127.0.0.1