openfl / lime-vscode-extension

Visual Studio Code extension for OpenFL and Lime projects written in Haxe
https://marketplace.visualstudio.com/items?itemName=openfl.lime-vscode-extension
MIT License
27 stars 4 forks source link

Firefox debug extension not recognized #61

Closed neillrobson closed 4 years ago

neillrobson commented 4 years ago

When I try to debug a simple OpenFL application with the HTML5 target and Firefox as the debug browser, I get the notification:

Debugging HTML5 with Firefox requires the "Debugger for Firefox" extension

However, I already have that extension installed. Clicking on the "Install Now" action button in the notification only makes the notification disappear: no other effect occurs. I tried uninstalling the firefox debug extension, triggering the notification, and clicking the install button, but the result was exactly the same (nothing new was installed).

This behavior clued me in to the potential that the extension was being mis-identified. Due to the following line, I believe that this diagnosis is accurate:

https://github.com/openfl/lime-vscode-extension/blob/80d4f0d392037201bc8840406fa9179f53be72b7/src/lime/extension/Main.hx#L584

Notice how, when navigating to this url: https://marketplace.visualstudio.com/items?itemName=hbenl.vscode-firefox-debug

You are redirected to: https://marketplace.visualstudio.com/items?itemName=firefox-devtools.vscode-firefox-debug

Looks like the publisher name has been changed from hbenl to firefox-devtools.