2 // Use IntelliSense to learn about possible attributes.
3 // Hover to view descriptions of existing attributes.
4 // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
8 "name": "Debug Extension",
9 "type": "extensionHost",
11 "runtimeExecutable": "${execPath}",
13 "--extensionDevelopmentPath=${workspaceFolder}/editors/code",
14 "--disable-extensions"
17 "__RA_LSP_SERVER_DEBUG": "${workspaceFolder}/target/debug/ra_lsp_server"
19 "outFiles": ["${workspaceFolder}/editors/code/out/**/*.js"],
20 "preLaunchTask": "Build All"
23 "name": "Debug Lsp Server",
26 "program": "${workspaceFolder}/target/debug/ra_lsp_server",
27 "pid": "${command:pickMyProcess}",
28 "sourceLanguages": ["rust"]
33 "name": "Debug unit tests in library 'gen_lsp_server'",
35 "args": ["test", "--no-run", "--lib", "--package=gen_lsp_server"],
41 "cwd": "${workspaceFolder}"
46 "name": "Debug unit tests in library 'ra_analysis'",
48 "args": ["test", "--no-run", "--lib", "--package=ra_analysis"],
54 "cwd": "${workspaceFolder}"
59 "name": "Debug test 'tests'",
61 "args": ["build", "--test=tests", "--package=ra_analysis"],
67 "cwd": "${workspaceFolder}"
72 "name": "Debug unit tests in test 'tests'",
74 "args": ["test", "--no-run", "--test=tests", "--package=ra_analysis"],
80 "cwd": "${workspaceFolder}"
85 "name": "Debug unit tests in library 'ra_hir'",
87 "args": ["test", "--no-run", "--lib", "--package=ra_hir"],
93 "cwd": "${workspaceFolder}"
98 "name": "Debug unit tests in library 'ra_db'",
100 "args": ["test", "--no-run", "--lib", "--package=ra_db"],
106 "cwd": "${workspaceFolder}"
111 "name": "Debug unit tests in library 'ra_editor'",
113 "args": ["test", "--no-run", "--lib", "--package=ra_editor"],
119 "cwd": "${workspaceFolder}"
124 "name": "Debug unit tests in library 'ra_syntax'",
126 "args": ["test", "--no-run", "--lib", "--package=ra_syntax"],
132 "cwd": "${workspaceFolder}"
137 "name": "Debug test 'test'",
139 "args": ["build", "--test=test", "--package=ra_syntax"],
145 "cwd": "${workspaceFolder}"
150 "name": "Debug unit tests in test 'test'",
152 "args": ["test", "--no-run", "--test=test", "--package=ra_syntax"],
158 "cwd": "${workspaceFolder}"
163 "name": "Debug unit tests in library 'test_utils'",
165 "args": ["test", "--no-run", "--lib", "--package=test_utils"],
171 "cwd": "${workspaceFolder}"
176 "name": "Debug executable 'ra_cli'",
178 "args": ["build", "--bin=ra_cli", "--package=ra_cli"],
184 "cwd": "${workspaceFolder}"
189 "name": "Debug unit tests in executable 'ra_cli'",
191 "args": ["test", "--no-run", "--bin=ra_cli", "--package=ra_cli"],
197 "cwd": "${workspaceFolder}"
202 "name": "Debug unit tests in library 'tools'",
204 "args": ["test", "--no-run", "--lib", "--package=tools"],
210 "cwd": "${workspaceFolder}"
215 "name": "Debug executable 'tools'",
217 "args": ["build", "--bin=tools", "--package=tools"],
223 "cwd": "${workspaceFolder}"
228 "name": "Debug unit tests in executable 'tools'",
230 "args": ["test", "--no-run", "--bin=tools", "--package=tools"],
236 "cwd": "${workspaceFolder}"
241 "name": "Debug test 'cli'",
243 "args": ["build", "--test=cli", "--package=tools"],
249 "cwd": "${workspaceFolder}"
254 "name": "Debug unit tests in test 'cli'",
256 "args": ["test", "--no-run", "--test=cli", "--package=tools"],
262 "cwd": "${workspaceFolder}"
267 "name": "Debug unit tests in library 'ra_lsp_server'",
269 "args": ["test", "--no-run", "--lib", "--package=ra_lsp_server"],
275 "cwd": "${workspaceFolder}"
280 "name": "Debug executable 'ra_lsp_server'",
282 "args": ["build", "--bin=ra_lsp_server", "--package=ra_lsp_server"],
288 "cwd": "${workspaceFolder}"
293 "name": "Debug unit tests in executable 'ra_lsp_server'",
298 "--bin=ra_lsp_server",
299 "--package=ra_lsp_server"
306 "cwd": "${workspaceFolder}"
311 "name": "Debug test 'heavy_tests'",
313 "args": ["build", "--test=heavy_tests", "--package=ra_lsp_server"],
319 "cwd": "${workspaceFolder}"
324 "name": "Debug unit tests in test 'heavy_tests'",
329 "--test=heavy_tests",
330 "--package=ra_lsp_server"
337 "cwd": "${workspaceFolder}"