31i73 / atom-dbg-gdb

An Atom package - A GDB debugger
https://atom.io/packages/dbg-gdb
MIT License
16 stars 10 forks source link

Environment variables for debug target #10

Closed xHasKx closed 7 years ago

xHasKx commented 7 years ago

This will be very nice if you could add setting custom environment variables for debug target (executable). They can be set for gdb process, or maybe gdb has some mi-command for that. About UI: I propose to use simple text field where I can put JSON (or key=value pairs) with environment variables.

xHasKx commented 7 years ago

I can even help with pull request with described implementation

ProPuke commented 7 years ago

This is now achievable using the env_vars option in your debug config file (See supported options)