mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-28 05:53:45 +00:00
30 lines
1.1 KiB
JSON
30 lines
1.1 KiB
JSON
// A launch configuration that compiles the extension and then opens it inside a new window
|
|
// 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": "Extension",
|
|
"type": "extensionHost",
|
|
"request": "launch",
|
|
"runtimeExecutable": "${execPath}",
|
|
"args": ["--extensionDevelopmentPath=${workspaceFolder}"],
|
|
"outFiles": ["${workspaceFolder}/out/**/*.js"],
|
|
"preLaunchTask": "npm: watch"
|
|
},
|
|
{
|
|
"name": "Extension Tests",
|
|
"type": "extensionHost",
|
|
"request": "launch",
|
|
"runtimeExecutable": "${execPath}",
|
|
"args": [
|
|
"--extensionDevelopmentPath=${workspaceFolder}",
|
|
"--extensionTestsPath=${workspaceFolder}/out/test"
|
|
],
|
|
"outFiles": ["${workspaceFolder}/out/test/**/*.js"],
|
|
"preLaunchTask": "npm: watch"
|
|
}
|
|
]
|
|
}
|