Debugging - Updated to add experimentalNetworking flag for VS Code
Signed-off-by: Andre Wanlin <awanlin@spotify.com>
This commit is contained in:
@@ -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
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user