0

I've been trying to turn on debugging in Chrome for several hours without success, maybe one of you has mastered the topic and is willing to share. I looked through the guides but none of them had my problem. I assume I'm doing something wrong. Thus.

For WebStorm 2022.3 there is a function "Remote Development -> SSH". I created a connection to the PC where there is exactly the same version of WS.

The connection was successful and the encoding connection itself works fine. I can see directories, files, and anything else I'd like to see. I set up port forwarding 8081-8081 to make www work on my local PC.

After enabling the frontend and backend then enabling JavaScript Debugger service but in the usual way (green triangle), the browser starts on the local PC and works as expected. However, when I run JavaScript Debugger in debug mode (green worm) I get a message window:

enter image description here

What can I do to get debug mode working?

  1. I was forwarding ports for Chrome 9222,
  2. I was running "google-chrome" with ssh -X,
  3. I was running local chrome with --remote-debugging-port=9222
  4. This one does not solve the problem
LazyOne
  • 158,824
  • 45
  • 388
  • 391
logrox
  • 13
  • 2
  • I found this: https://youtrack.jetbrains.com/issue/GTW-2005 --> https://youtrack.jetbrains.com/issue/CWM-6721 – LazyOne Dec 02 '22 at 19:44
  • BTW: *"...enabling JavaScript Debugger service but in the usual way (green triangle)..."* -- "green triangle" means "Run" while "green worm" (actually "bug") means "Run with Debug". – LazyOne Dec 02 '22 at 19:46
  • For reference purposes: the same on WebStorm Forums -- https://intellij-support.jetbrains.com/hc/en-us/community/posts/8887468372754-Remote-Development-SSH-debugging-javascript-chrome – LazyOne Dec 02 '22 at 22:47

0 Answers0