Skip to content

Environment Variable Setting Support in Debugger.#2

Open
jbtule wants to merge 4 commits intomasterfrom
env
Open

Environment Variable Setting Support in Debugger.#2
jbtule wants to merge 4 commits intomasterfrom
env

Conversation

@jbtule
Copy link
Member

@jbtule jbtule commented Feb 27, 2026

This pull request adds support for passing environment variables to the debugged program in the Harbour debugger extension. The main changes introduce a new env property to the launch configuration, update the localization files, and ensure that the environment variables are correctly forwarded when launching or spawning the program.

Launch configuration and localization updates:

  • Added a new env property to the launch configuration schema in package.json, allowing users to specify environment variables for the debugged program.
  • Updated English, Spanish, and Italian localization files to include descriptions for the new env property. [1] [2] [3]

Debugger logic updates:

  • Modified debugger.js to pass the env property when launching the program, both for terminal and non-terminal execution modes, ensuring the debugged process receives the specified environment variables. [1] [2]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant