Debugging - Updated to add experimentalNetworking flag for VS Code

Signed-off-by: Andre Wanlin <awanlin@spotify.com>
This commit is contained in:
Andre Wanlin
2025-05-21 09:00:10 -05:00
parent 5cc0ca32e1
commit d91da12e95
+2 -1
View File
@@ -65,7 +65,8 @@ In your `.vscode/launch.json`, add a new entry with the following,
"runtimeExecutable": "yarn", // Specifies the runtime to execute the application. In this case, it uses `yarn` to run the script.
"args": ["start", "--inspect"], // Arguments passed to the `yarn` command. Here, it runs `yarn start` with the `--inspect` flag to enable debugging.
"skipFiles": ["<node_internals>/**"], // Tells the debugger to skip stepping into Node.js internal files during debugging.
"console": "integratedTerminal" // Specifies that the debugger should use the integrated terminal for input/output.
"console": "integratedTerminal", // Specifies that the debugger should use the integrated terminal for input/output.
"experimentalNetworking": "off" // Since Node.js 22.15.0 an additional parameter --experimental-network-inspection is added but currently not supported by Yarn
}
]
}