firefox-devtools / vscode-firefox-debug

VS Code Debug Adapter for Firefox
https://marketplace.visualstudio.com/items?itemName=firefox-devtools.vscode-firefox-debug
MIT License
397 stars 66 forks source link

How to tell extension the HTML index location? #365

Open AnrDaemon opened 5 months ago

AnrDaemon commented 5 months ago

When a break happens inside the embedded HTML code in the directory index file, extension tries to open a directory as a file.

It would be really helpful to add an optional "index" parameter to path mapping elements, telling it where to look for the embedded code. Smth. like:

            "pathMappings": [
                {
                    "path": "${workspaceFolder}/app",
                    "url": "http://127.0.0.1:5500",
                    "index": "index.html"
                },
            ],