35 lines
1.1 KiB
JSON
35 lines
1.1 KiB
JSON
{
|
|
// Use IntelliSense to learn about possible attributes.
|
|
// Hover to view descriptions of existing attributes.
|
|
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
|
|
"version": "0.2.0",
|
|
"configurations": [
|
|
{
|
|
"type": "node",
|
|
"request": "launch",
|
|
"cwd": "${workspaceFolder}/dev",
|
|
"runtimeArgs": ["-r", "./node_modules/ts-node/register"],
|
|
"name": "Debug Cloud Storage - S3",
|
|
"program": "${workspaceFolder}/dev/src/server.ts",
|
|
"outputCapture": "std",
|
|
"env": {
|
|
"PAYLOAD_PUBLIC_CLOUD_STORAGE_ADAPTER": "s3",
|
|
"PAYLOAD_CONFIG_PATH": "${workspaceFolder}/dev/src/payload.config.ts"
|
|
}
|
|
},
|
|
{
|
|
"type": "node",
|
|
"request": "launch",
|
|
"cwd": "${workspaceFolder}/dev",
|
|
"runtimeArgs": ["-r", "./node_modules/ts-node/register"],
|
|
"name": "Debug Cloud Storage - Azure",
|
|
"program": "${workspaceFolder}/dev/src/server.ts",
|
|
"outputCapture": "std",
|
|
"env": {
|
|
"PAYLOAD_PUBLIC_CLOUD_STORAGE_ADAPTER": "azure",
|
|
"PAYLOAD_CONFIG_PATH": "${workspaceFolder}/dev/src/payload.config.ts"
|
|
}
|
|
}
|
|
]
|
|
}
|