Hello! I would like to know how I can debug this issue.
Issue
This is all the information I was given.
Using cat on the log output after setting the log_level to 4 gives me the following output:
[ERROR qua 19 jul 2023 19:21:50 27324356607905] ...im/lazy/nvim-dap-vscode-js/lua/dap-vscode-js/adapter.lua:72: Error trying to launch JS debugger: EACCES: permission denied
(the ... came together)
I'm also able to see it in the terminal:
Attempts
Just to be sure, I tried to run sudo chmod +rx -R ./directory where directory was every folder related do dap that I have here.
Output of ls -l on the dap files:
drwxrwxr-x 8 hugo hugo 4096 jul 19 16:09 nvim-dap
drwxrwxr-x 8 hugo hugo 4096 jul 19 16:16 nvim-dap-ui
drwxrwxr-x 7 hugo hugo 4096 jul 19 16:35 nvim-dap-virtual-text
drwxrwxr-x 8 hugo hugo 4096 jul 19 17:16 nvim-dap-vscode-js
drwxrwxr-x 12 hugo hugo 4096 jul 19 19:20 vscode-js-debug
I also tried to edit the project on my own to use logger.error to see in which line the error happens, but my nvim failed to start with the edited project. Thus, I abandoned this approach.
Hello! I would like to know how I can debug this issue.
Issue
This is all the information I was given.
Using
cat
on the log output after setting thelog_level
to4
gives me the following output:(the
...
came together)I'm also able to see it in the terminal:
Attempts
Just to be sure, I tried to run
sudo chmod +rx -R ./directory
wheredirectory
was every folder related do dap that I have here.Output of
ls -l
on the dap files:I also tried to edit the project on my own to use
logger.error
to see in which line the error happens, but my nvim failed to start with the edited project. Thus, I abandoned this approach.Setup information
Operational System
Neovim
Everything related to dap is in the most recent changes of the
master
branches.Let me know if you need more information. Plus, feel free to reach me on Discord
hugobsb
.