oxc/.vscode/launch.json
阿良仔 8a915cec5c
feat: vscode extension (#690)
related: #688 .
There are some unfinished things that need to be finalised by Boshen.

1. Official icon and description for the package.
2. Publishing strategy ( It's probably not a good idea to use
`package.json` as a probe to publish extension, as there's too much
vscode configuration coupled to it, a git tag like `vscode_v0.0.x` might
be worth considering ).
3. License for the extension.
2023-08-06 21:28:49 +08:00

19 lines
No EOL
549 B
JSON

// A launch configuration that compiles the extension and then opens it inside a new window
{
"version": "0.2.0",
"configurations": [
{
"type": "extensionHost",
"request": "launch",
"name": "Launch Client",
"runtimeExecutable": "${execPath}",
"args": ["--extensionDevelopmentPath=${workspaceFolder}/editor/vscode" ],
"sourceMaps": true,
"outFiles": ["${workspaceFolder}/editor/vscode/dist/*.js"],
"preLaunchTask": "watch",
"env": {
"SERVER_PATH_DEV": "${workspaceRoot}/target/debug/oxc_vscode"
}
}
]
}