From f5e33d80cdcb89a507933c98004ce42f9501399c Mon Sep 17 00:00:00 2001 From: Stevan Freeborn <65925598+StevanFreeborn@users.noreply.github.com> Date: Fri, 10 Oct 2025 15:38:19 -0500 Subject: [PATCH] chore: add debugger config for vscode --- .vscode/launch.json | 27 +++++++++++++++++++++++++++ .vscode/tasks.json | 17 +++++++++++++++++ 2 files changed, 44 insertions(+) create mode 100644 .vscode/launch.json create mode 100644 .vscode/tasks.json diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000..c787a2d --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,27 @@ +{ + "version": "0.2.0", + "configurations": [ + { + "type": "coreclr", + "request": "launch", + "name": "Launch StreamShorts.Console", + "program": "${workspaceFolder}/src/StreamShorts.Console/bin/Debug/net9.0/win-x64/StreamShorts.Console.dll", + "args": [ + "${input:filePath}" + ], + "cwd": "${workspaceFolder}/src/StreamShorts.Console", + "stopAtEntry": false, + "console": "integratedTerminal", + "preLaunchTask": "build", + "justMyCode": false + } + ], + "inputs": [ + { + "id": "filePath", + "type": "promptString", + "description": "Enter the path to the video file", + "default": "" + } + ] +} diff --git a/.vscode/tasks.json b/.vscode/tasks.json new file mode 100644 index 0000000..21360d6 --- /dev/null +++ b/.vscode/tasks.json @@ -0,0 +1,17 @@ +{ + "version": "2.0.0", + "tasks": [ + { + "label": "build", + "command": "dotnet", + "type": "process", + "args": [ + "build", + "${workspaceFolder}/StreamShorts.sln", + "/property:GenerateFullPaths=true", + "/consoleloggerparameters:NoSummary" + ], + "problemMatcher": "$msCompile" + } + ] +}