Skip to content
This repository was archived by the owner on Nov 22, 2024. It is now read-only.

chore: improve launch.json #36

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 8 additions & 15 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -1,22 +1,15 @@
{
// 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",
"cwd": "${workspaceFolder}",
"runtimeArgs": [
"-r",
"./node_modules/ts-node/register"
],
"command": "yarn run dev",
"name": "Run Dev",
"request": "launch",
"name": "Launch Payload Website CMS",
"program": "${workspaceFolder}/src/server.ts",
"env": {
"PAYLOAD_CONFIG_PATH": "src/payload.config.ts"
},
"outputCapture": "std",

// "preLaunchTask": "npm: build:server",
},
"type": "node-terminal",
"cwd": "${workspaceFolder}"
}
]
}