Skip to content

Launching fails when runtimeExecutable is yarn #248553

@stevebaum23

Description

@stevebaum23

Type: Bug

I just updated to version 1.100 and now launching is broken. In our launch.json file we run yarn scripts to launch our services. This has worked fine until the latest update.

Here's an example of one of our configurations (this is part of a compound group which is why it is hidden):

{
  "name": "REST Server",
  "request": "launch",
  "runtimeArgs": [
      "rest"
  ],
  "runtimeExecutable": "yarn",
  "skipFiles": [
      "<node_internals>/**"
  ],
  "type": "node",
  "outputCapture": "std",
  "presentation": {
    "hidden": true,
    "group": "",
    "order": 1
  }
}

I noticed in the debug console that it is trying to invoke /usr/local/bin/yarn --experimental-network-inspection rest. Yarn then complains about "No command specified". I believe this is the problem, because it is passing that argument to yarn.

I saw in the release notes that the experimental network view was enabled by default. I turned it off in settings but that didn't seem to make a difference.

Image

I don't know if it matters, but I am running all of this in a dev container, which is how we typically work.

VS Code version: Code 1.100.0 (19e0f9e, 2025-05-07T12:48:53.763Z)
OS version: Linux x64 6.12.10-76061203-generic
Modes:
Remote OS version: Linux x64 6.12.10-76061203-generic

System Info
Item Value
CPUs Intel(R) Core(TM) i9-14900HX (32 x 2765)
GPU Status 2d_canvas: enabled
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: disabled_software
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: disabled_off
webnn: disabled_off
Load (avg) 1, 1, 1
Memory (System) 62.64GB (46.40GB free)
Process Argv .
Screen Reader no
VM 0%
DESKTOP_SESSION pop
XDG_CURRENT_DESKTOP Unity
XDG_SESSION_DESKTOP pop
XDG_SESSION_TYPE x11
Item Value
Remote Dev Container: 360-review
OS Linux x64 6.12.10-76061203-generic
CPUs Intel(R) Core(TM) i9-14900HX (32 x 5109)
Memory (System) 62.64GB (46.40GB free)
VM 0%
Extensions (24)
Extension Author (truncated) Version
remote-containers ms- 0.413.0
remote-ssh ms- 0.120.0
remote-ssh-edit ms- 0.87.0
remote-wsl ms- 0.99.0
vscode-remote-extensionpack ms- 0.26.0
remote-explorer ms- 0.5.0
remote-server ms- 1.5.2
JavaScriptSnippets xab 1.8.0
terraform 4op 0.2.5
vscode-eslint dba 3.0.10
githistory don 0.6.20
copilot Git 1.317.0
copilot-chat Git 0.27.0
vscode-pull-request-github Git 0.110.0
todo-tree Gru 0.0.226
rest-client hum 0.25.1
git-graph mhu 1.30.0
sqltools mtx 0.28.4
sqltools-driver-pg mtx 0.5.5
uuid-generator net 0.0.5
vscode-jest Ort 6.4.3
trailing-spaces sha 0.4.1
vscode-fileutils sle 3.10.3
gitblame wad 11.1.2

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions