<div dir="ltr"><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Jul 28, 2021 at 11:44 AM Mahmood Naderan <<a href="mailto:mahmood.nt@gmail.com">mahmood.nt@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div style="font-family:tahoma,sans-serif">Hi,</div><div style="font-family:tahoma,sans-serif">Prior to running the application command, I ran a 'source' command to set some variables and preprocessing. I know how to set variables in the launch configuration, but I would like to know how to specify that source command in the launch configuration where executable, arguments and working directory are set.</div></div></blockquote><div><br></div><div style="font-size:small" class="gmail_default">Note that you can set the environment that you run on within the Configure Launches dialog.</div><div style="font-size:small" class="gmail_default"><br></div><div style="font-size:small" class="gmail_default">This is useful if you need to run gdb since otherwise you'll end up debugging your starter script rather than your program.</div><div style="font-size:small" class="gmail_default"><br></div><div style="font-size:small" class="gmail_default">Good luck!</div><div style="font-size:small" class="gmail_default">Aleix<br></div></div></div>