mxsdev / nvim-dap-vscode-js

nvim-dap adapter for vscode-js-debug
266 stars 24 forks source link

Debugger is trying to grep some /usr/bin files when debug starts #66

Open igorcavalcante opened 5 months ago

igorcavalcante commented 5 months ago

First of all. Thanks for the project. Secondly: Receiving this error when I try to start the debugger: The debugger works as well, but do not understand why it's trying to execute these commands.

[dap-js] JS Debugger stderr: grep: /usr/bin/rscsi: Permission denied
grep: /usr/bin/cdrecord: Permission denied
grep: /usr/bin/cupsd: Permission denied
grep: /usr/bin/readcd: Permission denied
grep: /usr/bin/wodim: Permission denied
grep: /usr/bin/icedax: Permission denied
grep: /usr/bin/readom: Permission denied
grep: /usr/bin/groupmems: Permission denied
grep: /usr/bin/cdda2wav: Permission denied

This only happens when I try to run a chrome debug.

Don't know why, I saw this other thread: https://github.com/mxsdev/nvim-dap-vscode-js/issues/8 but I think I'ts not related. Ty by the way

bjornsnoen commented 5 months ago

@igorcavalcante have you figured anything out here? Also getting this every time I debug and it's quite annoying. My list is a bit different, but definitely the same root:

[dap-js] JS Debugger stderr: grep: /usr/bin/groupmems: Permission denied                                                       
grep: /usr/bin/django-admin3.py: No such file or directory                                                                     
grep: /usr/bin/cupsd: Permission denied                                                                                        
grep: /usr/bin/superslicer-gcodeviewer: No such file or directory     
victoragcosta commented 3 weeks ago

I'm having the same issue. I'm using on WSL and had my docker not initialized, so it was giving out errors about not finding the docker commands (it's what happens when you don't start docker before WSL shell). After running docker and re-running the shell and nvim, I got this error:

[dap-js] JS Debugger stderr: grep: /usr/bin/X11: warning: recursive directory loop