未验证 提交 ee5729e1 编写于 作者: S Suzy Mueller 提交者: GitHub

service/dap: log working directory of launch program (#2447)

上级 6a85f349
......@@ -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)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册