service/dap: log working directory of launch program (#2447)
This commit is contained in:
parent
6a85f34966
commit
ee5729e107
@ -630,6 +630,7 @@ func (s *Server) onLaunchRequest(request *dap.LaunchRequest) {
|
||||
s.config.Debugger.WorkingDir = wdParsed
|
||||
}
|
||||
|
||||
s.log.Debugf("running program in %s\n", s.config.Debugger.WorkingDir)
|
||||
if noDebug, ok := request.Arguments["noDebug"].(bool); ok && noDebug {
|
||||
s.mu.Lock()
|
||||
cmd, err := s.startNoDebugProcess(program, targetArgs, s.config.Debugger.WorkingDir)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user