0

I am trying to run JavaScript debugging from PhpStorm.

When I specify google-chrome as path in the browsers configuration:

browser configuration

I get the following error:

Cannot run program "google-chrome": error=2, Aucun fichier ou dossier de ce type

Can someone please help?

4
  • 2
    Specify full path to your Google Chrome executable?.. Commented Jan 25, 2021 at 17:18
  • @LazyOne Thanks for your reply. Specifying the full path to Chrome results in the same error: Cannot run program "/usr/bin/google-chrome": error=2, Aucun fichier ou dossier de ce type Any other idea? Commented Jan 25, 2021 at 17:45
  • 2
    1) Is such file is actually there? 2) What about access permissions? 3) On Windows I could say: "try launching PhpStorm as Administrator. Any difference?". But here on Linux ... not sure. 4) How did you install PhpStorm? Is that some flatpack or alike? If it's one of them, try using JetBrains Toolbox or install from ordinary archive: jetbrains.com/phpstorm/download/#section=linux Commented Jan 25, 2021 at 19:07
  • 2
    Hello @LazyOne. I used the link you kindly provided and debugging now works fine. Thanks a lot! Commented Jan 26, 2021 at 8:24

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.