delve/cmd/dlv
Suzy Mueller 1c9a10529e
service/dap: use specified working directory for launch requests (#2360)
* service/dap: use specified working directory for launch requests

If a user specifies a working directory in the launch request,
then the process should use that working directory. This may
affect how the program runs and the user should be able to have
control over this.

* service/dap: add tests for launch with working dir

Added tests to make sure the working directory is set correctly.

* service/dap: fix TestWorkingDir on windows

* service/dap: use %q to print quoted string

* cmd/dlv: update dap warning about working dir

* service/dap: change the launch argument to be wd`

* update warning to specify only launch request
2021-03-22 20:06:09 -07:00
..
cmds service/dap: use specified working directory for launch requests (#2360) 2021-03-22 20:06:09 -07:00
dlv_test.go Skip 'access denied' failures in tests (#2386) 2021-03-15 09:34:26 -07:00
main.go cmd/dlv: actually disable C compiler optimizations when building (#1647) 2019-08-01 16:31:50 -07:00
tools.go cmd/dlv: make core command limitations more prominent (#2031) 2020-05-04 10:00:33 -07:00