Skip to content

Instantly share code, notes, and snippets.

@dealproc
Created April 10, 2018 05:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dealproc/2ee5a51a55b5df1e1e68471447b2e380 to your computer and use it in GitHub Desktop.
Save dealproc/2ee5a51a55b5df1e1e68471447b2e380 to your computer and use it in GitHub Desktop.
{
"version": "0.2.0",
"configurations": [
{
"name": "{your project}",
"type": "coreclr",
"request": "launch",
"cwd": "/app",
"program": "/app/{your project dll}.dll",
"sourceFileMap": {
"/app": "${workspaceRoot}/src/{your project}"
},
"pipeTransport": {
"pipeProgram": "/bin/bash",
"debuggerPath": "/vsdbg/vsdbg",
"pipeCwd": "${workspaceRoot}",
"pipeArgs": [
"-c",
"docker exec -i {your docker container} /vsdbg/vsdbg --interpreter=vscode"
],
"windows": {
"pipeProgram": "${env:windir}/System32/WindowsPowerShell/v1.0/powershell.exe",
"pipeCwd": "${workspaceRoot}",
"pipeArgs": [
"-c",
"docker exec -i {your docker container}"
]
}
}
}
]
}
// Place your settings in this file to overwrite default and user settings.
{
"files.associations": {
"*.dockerfile.*": "dockerfile"
},
"files.exclude": {
"**/.git": true,
"**/.svn": true,
"**/.hg": true,
"**/.DS_Store": true,
"**/obj": true,
"**/bin": true
}
}
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "0.1.0",
"command": "dotnet",
"isShellCommand": true,
"args": [],
"tasks": [
{
"taskName": "publish",
"args": [
"${workspaceRoot}/{your solution}.sln", "-c", "Debug", "-o", "bin/PublishOutput"
],
"isBuildCommand": true,
"problemMatcher": "$msCompile"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment