-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Debug via summary is not working #25
Comments
maybe it is not working because I am using: mason-nvim-dap .... |
@eerison could you start with some minimal example? I especially mean no additional plugins and no containerized environment to elminiate external dependencies. I updated https://github.com/przepompownia/neotest-phpunit-example to ensure if it works with recent dependencies on the provided example and then fixed it to work on some real project too. I used unit tests from Phpactor and they work. You can try it too at the start or provide other minimal repro. |
Hey @przepompownia I guess it was related with other dependency, I guess it was on https://github.com/williamboman/mason-lspconfig.nvim after I update it, it is not losting the buffer file as you described here: https://github.com/olimorris/neotest-phpunit?tab=readme-ov-file#debugging-with-dap-strategy it is working, but I use like ... |
I guess it should work out the box: https://github.com/nvim-neotest/neotest?tab=readme-ov-file#strategies in theory you could get the dap from there, don't you? |
This commit contains dap configurations for neotest-phpunit, but it is not working properly yet Maybe it is missing some special configuration for lazyvim Issue on neotest-phpunit: olimorris/neotest-phpunit#25
This commit contains dap configurations for neotest-phpunit, but it is not working properly yet Maybe it is missing some special configuration for lazyvim Issue on neotest-phpunit: olimorris/neotest-phpunit#25
I am getting this error message:
I tried like this: I don't know how to make it work :( |
Look at your configurations. I'm not sure if it's saved directly into config.configurations = {
php = {
type = ... You can try also declare |
What |
Does your DAP configuration work outside neotest? While debugging you can also assign duplicated adapter configuration table directly under |
{ {
name = "Listen for Xdebug",
pathMappings = {
["/app"] = "${workspaceFolder}"
},
port = 9003,
request = "launch",
type = "php"
}, {
name = "PHP: Listen for Xdebug",
port = 9000,
request = "launch",
type = "php"
} } |
after get last updates the DAP is not working anymore :/
I tried to do this
But it is not working :/
it is my config: https://github.com/eerison/lazyvim/blob/main/lua/plugins/php.lua#L34
do you have any example to set this with lazyvim?
The text was updated successfully, but these errors were encountered: