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

pwa-msedge Debug Configuration Won't Work in Multi-root Workspace's "launch" config #128922

Closed
alexclst opened this issue Jul 17, 2021 · 2 comments
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug debug Debug viewlet, configurations, breakpoints, adapter issues verified Verification succeeded
Milestone

Comments

@alexclst
Copy link

alexclst commented Jul 17, 2021

Issue Type: Bug

I created a pwa-msedge launch config in a multi-root workspace's config file. Mine was based on one VS Code generated:

{
	"type": "pwa-msedge",
	"name": "MS Edge Debug",
	"request": "attach",
	"port": 9222
}

This goes in the launch element of configuring the workspace.

When I try to run it the error I get is the following:

Variable ${workspaceFolder} can not be resolved in a multi folder workspace. Scope this variable using ':' and a workspace folder name.

This is despite none of my debug configs using that variable, not just (as seen above) the debug config I am trying to start. If I use the Debug: Open Link command this works fine. It is just when I save it to my launch configs that it fails (either as launch or attach).

VS Code version: Code 1.58.2 (c3f1263, 2021-07-14T22:10:12.490Z)
OS version: Darwin arm64 20.5.0
Restricted Mode: No

System Info
Item Value
CPUs Apple M1 (8 x 24)
GPU Status 2d_canvas: enabled
gpu_compositing: enabled
metal: disabled_off
multiple_raster_threads: enabled_on
oop_rasterization: enabled
opengl: enabled_on
rasterization: enabled
skia_renderer: disabled_off_ok
video_decode: enabled
webgl: enabled
webgl2: enabled
Load (avg) 2, 2, 2
Memory (System) 16.00GB (0.13GB free)
Process Argv --crash-reporter-id 2079a181-0f64-4082-b0cf-200197f5f5f1
Screen Reader no
VM 0%
Extensions (60)
Extension Author (truncated) Version
Bookmarks ale 13.1.0
cypress-snippets and 1.2.0
atlascode atl 2.9.1
vscode-intelephense-client bme 1.7.1
vscode-yarn-script car 0.0.1
test-utils chr 1.0.2
npm-intellisense chr 1.3.1
codestream Cod 11.0.13
vscode-eslint dba 2.1.23
vscode-dash dee 2.4.0
gitlens eam 11.6.0
EditorConfig Edi 0.16.4
vscode-npm-script eg2 0.3.22
php-debug fel 1.16.1
php-pack fel 1.0.2
auto-rename-tag for 0.1.7
vscode-yarn gam 1.7.1
vscode-icontheme-nomo-dark-macos Gau 1.0.3
ginfuru-vscode-jekyll-syntax gin 0.1.1
vscode-jekyll-snippets gin 0.9.3
copilot Git 1.2.1991
vscode-pull-request-github Git 0.28.0
applescript idl 0.21.0
composer ika 0.7.1
svg joc 1.4.8
cypress-fixture-intellisense Jos 1.2.0
swift Kas 0.2.0
vscode-phpfmt kok 1.0.30
rainbow-csv mec 1.9.1
vscode-language-babel mgm 0.0.31
vscode-edge-devtools ms- 1.2.0
python ms- 2021.6.944021595
vscode-pylance ms- 2021.7.4
jupyter ms- 2021.8.1013163132
remote-ssh ms- 0.65.7
remote-ssh-edit ms- 0.65.7
vsliveshare ms- 1.0.4580
vsliveshare-audio ms- 0.1.91
vsliveshare-pack ms- 0.4.0
debugger-for-edge msj 1.0.15
php-docblocker nei 2.1.0
language-liquid nei 0.1.1
ruby reb 0.28.1
vscode-commons red 0.0.6
vscode-xml red 0.17.0
vscode-yaml red 0.21.1
markdown-preview-enhanced shd 0.5.22
vscode-cy-helper She 1.2.2
fish-vscode sky 0.2.1
xcode-keybindings ste 1.9.0
python tht 0.2.3
vscode-extension-open-cypress tnr 0.0.10
wordpress-snippet tun 1.1.5
cmake twx 0.0.17
code-navigation vik 0.2.0
vscode-todo-highlight way 1.0.4
vscode-ruby win 0.28.0
change-case wma 1.0.0
JavaScriptSnippets xab 1.8.0
html-css-class-completion Zig 1.20.0
A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383:30185418
pythonvspyt700cf:30270857
pythonvspyt602:30300191
vspor879:30202332
vspor708:30202333
vspor363:30204092
vswsl492:30256859
pythonvspyt639:30300192
pythontb:30283811
pythonvspyt551cf:30311713
vspre833:30321513
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
pythondataviewer:30285071
vscus158:30321503
pythonvsuse255:30335481
vscod805cf:30301675
pythonvspyt200:30331937
vscextlangct:30333562
binariesv615:30325510
vsccppwt:30329788
bridge0708:30335490

@weinand weinand assigned connor4312 and unassigned weinand Jul 18, 2021
@weinand weinand added the debug Debug viewlet, configurations, breakpoints, adapter issues label Jul 18, 2021
@connor4312 connor4312 added the bug Issue identified by VS Code Team member as probable bug label Jul 19, 2021
@connor4312 connor4312 added this to the August 2021 milestone Aug 4, 2021
@roblourens roblourens added the verified Verification succeeded label Aug 26, 2021
@roblourens
Copy link
Member

I still see this with the nightly extension

@roblourens
Copy link
Member

Actually nvm, I had an old version of the nightly extension in stable, it works in vscode insiders + nightly

@github-actions github-actions bot locked and limited conversation to collaborators Oct 10, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug debug Debug viewlet, configurations, breakpoints, adapter issues verified Verification succeeded
Projects
None yet
Development

No branches or pull requests

4 participants