mirror of
https://github.com/danbulant/oxc
synced 2026-05-22 21:58:36 +00:00
1. Use `log::info` to print some informantion which we would want to display in release mode, 2. Add config to switch back `debug` log level in development mode.
19 lines
561 B
JSON
19 lines
561 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}/editors/vscode" ],
|
|
"sourceMaps": true,
|
|
"outFiles": ["${workspaceFolder}/editors/vscode/dist/*.js"],
|
|
"env": {
|
|
"SERVER_PATH_DEV": "${workspaceRoot}/target/debug/oxc_language_server",
|
|
"RUST_LOG": "debug"
|
|
}
|
|
}
|
|
]
|
|
}
|