Skip to content

Commit

Permalink
Support new delve binary name format
Browse files Browse the repository at this point in the history
  • Loading branch information
mgyucht committed Jul 20, 2023
1 parent ef651b0 commit 2721738
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/acceptance/init_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ func skipf(t *testing.T) func(format string, args ...any) {
// detects if test is run from "debug test" feature in VSCode
func isInDebug() bool {
ex, _ := os.Executable()
return path.Base(ex) == "__debug_bin"
return strings.HasPrefix(path.Base(ex), "__debug_bin")
}

// loads debug environment from ~/.databricks/debug-env.json
Expand Down

0 comments on commit 2721738

Please sign in to comment.