Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Launch Json GeneratorNew to Visual Studio Code? Get it now.
Launch Json Generator

Launch Json Generator

hw104

|
7,101 installs
| (0) | Free
Display quick pick windows that generate json text for launch.json and tasks.json.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

launch-json-generator README

The json generator for launch.json and taksk.json.

How to use

  1. Add item to inputs field in launch.json or tasks.json like this. (more info for inputs).
    {
       "id": "getConfigJson",
       "type": "command",
       "command": "launch-json-generator.generate",
       // specify json scheme you want
       "args": {
         "stringValue": "string",
         "optionalStringValue": "string|null",
         "bool": "boolean",
         "withOption": "'a'|'b'|'c'",
         "nest": {
             "array": ["boolean", "number", ]
         }
       },
    }
    
  2. use variable ${input:<input-id>} in configurations or tasks items like this.
    {
       "type": "node",
       "request": "launch",
       "name": "Launch Program",
       "program": "${workspaceFolder}\\app.js",
       "args": [
         "--json-config=${input:getConfigJson}" // This!
       ]
    }
    
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft