Skip to content

exits with error if file specified by envFile in launch configuration doesn't exist #1262

@stewartadam

Description

@stewartadam

OS: MacOS 15.4 (24E248)
VSCode version: 1.99.0
CodeLLDB version: 1.11.4
Compiler: rustc
Debuggee: Mach-O 64-bit executable arm64

It can be helpful to have users of your project populate an .env file which is loaded on launch - this can be configured via envFile property in the launch.json configuration.

LLDB appears to refuse to start if such file doesn't exist, instead of proceeding with no environment exports.

Verbose log
Running `cargo build --bin=desk --package=desk --message-format=json --color=always`...
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.11s

Pop-up window -- Internal debugger error: path not found

Target: nightly-aarch64-apple-darwin

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions