Skip to content

Commit

Permalink
Make EOBot debuggable from vscode on Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
ethanmoffat committed Feb 11, 2022
1 parent a021caa commit 43bba8a
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 13 deletions.
17 changes: 14 additions & 3 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,32 @@
"version": "0.2.0",
"configurations": [
{
"name": ".NET Core Launch - Linux",
"name": "EndlessClient - Linux",
"type": "coreclr",
"request": "launch",
"preLaunchTask": "build",
"preLaunchTask": "build-client-linux",
"program": "${workspaceFolder}/bin/Debug/client/net6.0/EndlessClient",
"args": [],
"cwd": "${workspaceFolder}/bin/Debug/client/net6.0",
"console": "internalConsole",
"stopAtEntry": false
},
{
"name": "EOBot - Linux",
"type": "coreclr",
"request": "launch",
"preLaunchTask": "build-eobot-linux",
"program": "${workspaceFolder}/bin/Debug/utils/EOBot/net6.0/EOBot",
"args": [],
"cwd": "${workspaceFolder}/bin/Debug/utils/EOBot/net6.0",
"console": "internalConsole",
"stopAtEntry": false
},
{
"name": ".NET Core Launch - Windows",
"type": "coreclr",
"request": "launch",
"preLaunchTask": "build",
"preLaunchTask": "build-client-windows",
"program": "${workspaceFolder}/bin/Debug/client/net6.0-windows/EndlessClient.exe",
"args": [],
"cwd": "${workspaceFolder}/bin/Debug/client/net6.0-windows",
Expand Down
20 changes: 10 additions & 10 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"version": "2.0.0",
"tasks": [
{
"label": "build",
"label": "build-client-linux",
"command": "dotnet",
"type": "process",
"args": [
Expand All @@ -14,28 +14,28 @@
"problemMatcher": "$msCompile"
},
{
"label": "publish",
"label": "build-eobot-linux",
"command": "dotnet",
"type": "process",
"args": [
"publish",
"${workspaceFolder}/EndlessClient/EndlessClient.csproj",
"build",
"${workspaceFolder}/EOBot/EOBot.csproj",
"/property:GenerateFullPaths=true",
"/consoleloggerparameters:NoSummary"
],
"problemMatcher": "$msCompile"
},
{
"label": "watch",
"label": "build-client-windows",
"command": "dotnet",
"type": "process",
"args": [
"watch",
"run",
"--project",
"${workspaceFolder}/EndlessClient/EndlessClient.csproj"
"build",
"${workspaceFolder}/EndlessClient/EndlessClient.csproj",
"/property:GenerateFullPaths=true",
"/consoleloggerparameters:NoSummary"
],
"problemMatcher": "$msCompile"
}
},
]
}

0 comments on commit 43bba8a

Please sign in to comment.