launch.json

{
   // Use IntelliSense to learn about possible attributes
   // Hover to view descriptions of existing attributes.
   // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
   "version": "0.2.0",
   "configurations": [
       {
           "name": "Cortex Debug",
           "cwd": "${workspaceRoot}",
           "linux": {
               "executable": "./build/_build/nrf52832_xxaa.out"
           },
           "request": "launch",
           "type": "cortex-debug",
           "servertype": "jlink",
           "device": "nRF52832_xxAA",
           "interface": "swd",
           "ipAddress": null,
           "serialNumber": null,
           "preLaunchTask": "all",
       }
   ]
}

tasks.json

{
   // See https://go.microsoft.com/fwlink/?LinkId=733558
   // for the documentation about the tasks.json format
   "version": "2.0.0",
   "tasks": [
       {
           "label": "all",
           "type": "shell",
           "linux": {
               "command": "make nrf52832_debug upload"
           },
       }
   ]
}

launch.json

{
    "version":"0.2.0",
    "configurations":[
        {
            "name":"Cortex Debug",
            "cwd":"${workspaceRoot}",
            "windows":{
                "executable":".\_build\nrf52832_xxaa.out"
            },
            "linux":{
                "executable":"./_build/nrf52832_xxaa.out"
            },
            "request":"launch",
            "type":"cortex-debug",
            "servertype":"jlink",
            "device":"nRF52832_xxAA",
            "interface":"swd",
            "ipAddress":null,
            "serialNumber":null,
            "preLaunchTask":"all"
        }
    ]
}

C_cpp_properties.json

{
    "version":4,
    "configurations":[
        {
            "name":"Linux",
            "includePath":[
                "${workspaceFolder}/**",
                "<nrf sdk path>",
                "<freeRTOS path>",
                "/usr/local/include",
                "/usr/include"
            ],
            "defines":[
            ],
            "compilerPath":"wherever your embedded compiler is",
            "cStandard":"c11",
            "cppStandard":"c++2a",
            "intelliSenseMode":"clang-x64"
        }
    ]
}