diff options
| author | Anthony Lavado <anthony@lavado.ca> | 2019-01-02 02:10:43 -0500 |
|---|---|---|
| committer | Anthony Lavado <anthony@lavado.ca> | 2019-01-02 02:20:14 -0500 |
| commit | cdcdeb5996a80b06504004ec46972adf2b7724dd (patch) | |
| tree | 7bf249d2edc45daeaadf954f72a862652f85bae8 /.vscode | |
| parent | 6c27e3a7f71a314d72fcbaa009b92a4f4b89f456 (diff) | |
Add JSON assets for VSCode development
- This adds two configuration files that allow VSCode to open the solution and begin work with the project
Diffstat (limited to '.vscode')
| -rw-r--r-- | .vscode/launch.json | 28 | ||||
| -rw-r--r-- | .vscode/tasks.json | 15 |
2 files changed, 43 insertions, 0 deletions
diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 000000000..21b8323ea --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,28 @@ +{ + // Use IntelliSense to find out which attributes exist for C# debugging + // Use hover for the description of the existing attributes + // For further information visit https://github.com/OmniSharp/omnisharp-vscode/blob/master/debugger-launchjson.md + "version": "0.2.0", + "configurations": [ + { + "name": ".NET Core Launch (console)", + "type": "coreclr", + "request": "launch", + "preLaunchTask": "build", + // If you have changed target frameworks, make sure to update the program path. + "program": "${workspaceFolder}/Jellyfin.Server/bin/Debug/netcoreapp2.1/jellyfin.dll", + "args": [], + "cwd": "${workspaceFolder}/Jellyfin.Server", + // For more information about the 'console' field, see https://github.com/OmniSharp/omnisharp-vscode/blob/master/debugger-launchjson.md#console-terminal-window + "console": "internalConsole", + "stopAtEntry": false, + "internalConsoleOptions": "openOnSessionStart" + }, + { + "name": ".NET Core Attach", + "type": "coreclr", + "request": "attach", + "processId": "${command:pickProcess}" + } + ,] +}
\ No newline at end of file diff --git a/.vscode/tasks.json b/.vscode/tasks.json new file mode 100644 index 000000000..ac517e10c --- /dev/null +++ b/.vscode/tasks.json @@ -0,0 +1,15 @@ +{ + "version": "2.0.0", + "tasks": [ + { + "label": "build", + "command": "dotnet", + "type": "process", + "args": [ + "build", + "${workspaceFolder}/Jellyfin.Server/Jellyfin.Server.csproj" + ], + "problemMatcher": "$msCompile" + } + ] +}
\ No newline at end of file |
