how do i debug javascript using theia ide chrome / firefox? #9103
Unanswered
luiscipriano
asked this question in
Q&A
Replies: 1 comment 3 replies
-
The chrome debugger works by opening a socket connection from where the extension runs to the Chrome process. From your logs it tried to connect to |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi , I am setting up my final environment to program using theia ide, I generally work with wordpress. I already managed to get xdebug working on theia and several must-have extensions. But I still have a problem I can't debug javascript.
I am trying to debug javascript , using the following extensions:
Debugger for Chrome (I downloaded it from the microsoft market because the vsx registry gave me an error with this extension.)
JavaScript Debugger
and also test Debugger for Firefox
using the following settings ( launch.json )
{
"name": "Launch chrome",
"type": "chrome",
"request": "launch",
"url": "http: //localhost:80/",
"webRoot": "${workspaceRoot}"
},
I throw the following error: Debug session initialization failed. See console for details.
I throw the following error: Debug session initialization failed. See console for details.
I throw the following error: Couldn't find the Firefox executable. Please specify the path by setting "firefoxExecutable" in your launch configuration.
i throw the following error : connect ECONNREFUSED 127.0.0.1:6000
I got these errors using the image I downloaded from docker hub " theiaide/theia "
and something very similar happens to me with the " theiaide/ theia-full " image .
How can I make the javascript debug work?
Additional data:
My server from where I am doing this runs an ubuntu 20.04
Beta Was this translation helpful? Give feedback.
All reactions