fix: debug test does not output to REPL #112
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
NeonXP/nvim-dap-go!112
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "main"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Recent changes in nvim-dap behavior required setting
outputMode = "remote"in debug configs for stdout to be visible in REPL (see https://github.com/leoluz/nvim-dap-go/issues/108 for more info). The problem is now fixed for test scenarios too.test_debugnow accepts acustom_configargument as a way for users to get around similar problems.fix #114
Tested; output is now appearing by default in the repl from debug sessions initiated from tests.
@leoluz this seems to be gtg 👍🏻
Thank you for your contribution.
The new outputMode was already introduced in the plugin by the following PR: https://github.com/leoluz/nvim-dap-go/pull/109
Closing this for now. Please feel free to reopen the PR if you think the issue persists.
Sorry.. I misunderstood your PR. Will review it soon.
Tested locally and it works as expected.
Thank you for your contribution.
@ -234,3 +236,3 @@debug_test(test.name, test.package, M.test_buildflags, extra_args)debug_test(test.name, test.package, M.test_buildflags, extra_args, custom_config)Adding the custom_config makes it more flexible for supporting future nvim_dap changes. However we need to update the docs to clarify how this works. Please consider updating the
doc/nvim-dap-go.txtdocumenting its usage.@ -234,3 +236,3 @@debug_test(test.name, test.package, M.test_buildflags, extra_args)debug_test(test.name, test.package, M.test_buildflags, extra_args, custom_config)Updated documentation
LGTM
thank you!