Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to tell extension the HTML index location? #365

Open
AnrDaemon opened this issue Jun 15, 2024 · 0 comments
Open

How to tell extension the HTML index location? #365

AnrDaemon opened this issue Jun 15, 2024 · 0 comments

Comments

@AnrDaemon
Copy link

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"
                },
            ],
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants