debugger: Handle the envFile setting for Go (#33666)

Fixes #32984

Release Notes:

- The Go debugger now respects the `envFile` setting.
This commit is contained in:
Julia Ryan 2025-07-01 09:14:59 -07:00 committed by GitHub
parent a11647d07f
commit 0068de0386
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 80 additions and 20 deletions

View file

@ -32,7 +32,7 @@ client.workspace = true
collections.workspace = true
debug_adapter_extension.workspace = true
dirs.workspace = true
dotenv.workspace = true
dotenvy.workspace = true
env_logger.workspace = true
extension.workspace = true
fs.workspace = true

View file

@ -63,7 +63,7 @@ struct Args {
}
fn main() {
dotenv::from_filename(CARGO_MANIFEST_DIR.join(".env")).ok();
dotenvy::from_filename(CARGO_MANIFEST_DIR.join(".env")).ok();
env_logger::init();