Unable to launch/attach Firefox at all on OSX.
See original GitHub issueI’m trying to go through the Heaps.io ‘hello world’ introduction but use Firefox as my browser and I cannot get VSCode to launch Firefox or attach, despite playing with the settings.
When I try and debug, VSCode just waits for something to happen and then doesn’t load Firefox. I have tried launching the browser via the command line and attaching (using -start-debugger-server) but no luck their either. I have set the debug config options in the browser settings too.
The launch config file is the default one as follows;
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Launch index.html",
"type": "firefox",
"request": "launch",
"reAttach": true,
"file": "${workspaceFolder}/index.html"
},
{
"name": "Launch localhost",
"type": "firefox",
"request": "launch",
"reAttach": true,
"url": "http://localhost/index.html",
"webRoot": "${workspaceFolder}"
},
{
"name": "Attach",
"type": "firefox",
"request": "attach"
},
{
"name": "Launch WebExtension",
"type": "firefox",
"request": "launch",
"reAttach": true,
"addonPath": "${workspaceFolder}"
}
]
}
VSCode Version: 1.41.1 Commit: 26076a4de974ead31f97692a0d32f90d735645c0
MacOS Version: 10.15.2 (19C57)
Please can someone help me diagnose where the problem lies as i’m unsure of whether it is VSCode, Firefox or the plugin that is causing the issue.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:15 (7 by maintainers)
Top GitHub Comments
I’ve ran into the same issue during the same tutorial on Windows 10. The haxe language server occupies port 6000 Therefore changing the port of the firefox debugging fixed everything for me
Sorry for my lack of response on this; I haven’t had the time to dig further. I will endeavour to check the port setting, to see if that would have any effect.
Re: sample project, i’m following the ‘hello world’ example over at the Heaps website here; https://heaps.io/documentation/hello-world.html. Only switching the parts about Chrome to use Firefox instead.