microsoft / microsoft/vscode-edge-devtools

unable to attach vscode path variables (${file}), etc.. to devtools,

Open
#944 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement tracked
Dominant language
TypeScript
Stars
828
Forks
359
Avg merge
20h 32m
Merged PRs (30d)
10

Description

Environment (please complete the following information):

  • OS (e.g., Windows 10): ubuntu 20.04
  • Extension version (e.g., 1.2.3): 1.4.6

Describe the bug:

unable to get my index.html to launch by default when "launch instance" is pressed, head/headless. problem encountered using relative vscode path variables: "${workspaceFolder}", "${file}".
i tried in both default entrypoint and default URL fields, keeping the other at default value. i also tried setting both. i tried setting url to workspace and entrypoint to "index.html"
Repro steps:

fresh install of extension,
open index.html in your project folder,
head to extension in activity bar,
click "more settings"
enter any vscode file variable with/without quotation marks such as "${workspaceFolder}" into url,
inter index.html into entry point
click the "+" button with hover status of "open new tab",
find blank screen with this url:http://%24%7Bworkspacefolder%7D/
Expected behavior:
open index.html

i wanted to load the contents of index.url by using the file url. the file url seems corrupt
Additional context:

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue in the extension's More Settings view with ${workspaceFolder} or ${file} in the URL or entrypoint fields, using the reported Ubuntu 20.04 and extension version 1.4.6 environment if available. Trace how those settings are passed when opening a new tab; done means a project index.html opens instead of a URL containing the encoded variable.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript, vscode
Domain
developer-experience, devtools
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.