-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
dap-debug: Error processing "launch": Error: Can't find Chrome - install it or set the "runtimeExecutable" field in the launch config #13614
Comments
Apparently, it's related to this issue: |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Please let us know if this issue is still valid! |
@DennisMayr |
I had done so, but the problem arose when attempting to use Chromium instead of Chrome. Since I've switched to Chrome and Firefox for these purposes, and the feature works with these browsers, this issue can be closed. |
I've found a fix for using Chromium instead of Chrome. In my case, in a Debian system, it is in Taking the {
"version": "0.2.0",
"configurations": [
{
"type": "chrome",
"request": "launch",
"name": "DAP clojurescript",
+ "runtimeExecutable": "/usr/bin/chromium",
"url": "http://localhost:8080",
"sourceMaps": true,
"webRoot": "${workspaceFolder}",
"sourceMapPathOverrides": {
"*": "${workspaceFolder}/src/main/*"
}
}
]
} (*): You have to delete the |
Mini-HOWTO: Spacemacs DAP Debugging for ClojureScript: #15546 (comment) |
See #13614 (comment) for a workaround. |
Thanks for the tip, @allentiak, and @lebensterben for the heads-up |
Description
dap-debug
does not work when trying to debugNode.js
applications:Message:
Error processing "launch": Error: Can't find Chrome - install it or set the "runtimeExecutable" field in the launch config
Reproduction guide 🪲
node
appdap-debug
withM-m d d d
, chooseChrome browse URL
, thenBrowse url: http://localhost:4200
Return
Observed behaviour: 👀 💔
dap-debug
fails, showing the following error message:Expected behaviour: ❤️ 😄
dap-debug
showing me options to debug a javascript/ Node.js
applicationSystem Info 💻
Additional information
The Chrome executable was
chromium
, I changed it tochromium-browser
('(browse-url-chrome-program "chromium-browser")
). It did not help.The text was updated successfully, but these errors were encountered: