Skip to content

Instantly share code, notes, and snippets.

@danieldietrich
Created October 26, 2022 15:29
Show Gist options
  • Select an option

  • Save danieldietrich/4dac3716dfeed1c2727a0861d06b4864 to your computer and use it in GitHub Desktop.

Select an option

Save danieldietrich/4dac3716dfeed1c2727a0861d06b4864 to your computer and use it in GitHub Desktop.

Revisions

  1. danieldietrich created this gist Oct 26, 2022.
    36 changes: 36 additions & 0 deletions launch.json
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,36 @@
    {
    "version": "0.2.0",
    "configurations": [
    {
    "name": "Run Extension",
    "type": "extensionHost",
    "request": "launch",
    "args": [
    "--extensionDevelopmentPath=${workspaceFolder}"
    ]
    },
    {
    "name": "Attach to Language Server",
    "type": "node",
    "port": 6009,
    "request": "attach",
    "skipFiles": [
    "<node_internals>/**"
    ],
    "sourceMaps": true,
    "outFiles": [
    "${workspaceFolder}/out/**/*.js"
    ]
    },
    {
    "name": "Generate Logo",
    "type": "node",
    "program": "${workspaceFolder}/bin/cli",
    "request": "launch",
    "args": [
    "generate",
    "./examples/langium.logo"
    ]
    },
    ]
    }