-
Notifications
You must be signed in to change notification settings - Fork 676
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding in configuration snippets #1366
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1131,6 +1131,104 @@ | |
} | ||
} | ||
}, | ||
"configurationSnippets": [ | ||
{ | ||
"label": ".NET: Launch .NET Core App", | ||
"description": "Launch a .NET Core App with a debugger.", | ||
"body": { | ||
"name": ".NET Core Launch (console)", | ||
"type": "coreclr", | ||
"request": "launch", | ||
"preLaunchTask": "build", | ||
"program": "^\"\\${workspaceRoot}/bin/Debug/<target-framework>/<project-name.dll>\"", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Should we use their syntax to have the user fill in this path? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ex:
|
||
"args": [], | ||
"cwd": "^\"\\${workspaceRoot}\"", | ||
"stopAtEntry": false, | ||
"console": "internalConsole" | ||
} | ||
}, | ||
{ | ||
"label": ".NET: Attach to local .NET Core App", | ||
"description": "Attach a debugger to a .NET Core App.", | ||
"body": { | ||
"name": ".NET Core Attach", | ||
"type": "coreclr", | ||
"request": "attach", | ||
"processId": "^\"\\${command:pickProcess}\"" | ||
} | ||
}, | ||
{ | ||
"label": ".NET: Launch a local .NET Core Web App", | ||
"description": "Launch a .NET Core Web App with both a browser and a debugger.", | ||
"body": { | ||
"name": ".NET Core Launch (web)", | ||
"type": "coreclr", | ||
"request": "launch", | ||
"preLaunchTask": "build", | ||
"program": "^\"\\${workspaceRoot}/bin/Debug/<target-framework>/<project-name.dll>\"", | ||
"args": [], | ||
"cwd": "^\"\\${workspaceRoot}\"", | ||
"stopAtEntry": false, | ||
"launchBrowser": { | ||
"enabled": true, | ||
"args": "^\"\\${auto-detect-url}\"", | ||
"windows": { | ||
"command": "cmd.exe", | ||
"args": "^\"/C start \\${auto-detect-url}\"" | ||
}, | ||
"osx": { | ||
"command": "open" | ||
}, | ||
"linux": { | ||
"command": "xdg-open" | ||
} | ||
}, | ||
"env": { | ||
"ASPNETCORE_ENVIRONMENT": "Development" | ||
}, | ||
"sourceFileMap": { | ||
"/Views": "^\"\\${workspaceRoot}/Views\"" | ||
} | ||
} | ||
}, | ||
{ | ||
"label": ".NET: Launch a remote .NET Core App", | ||
"description": "Launch a .NET Core App on a remote machine.", | ||
"body": { | ||
"name": ".NET Core Launch (console)", | ||
"type": "coreclr", | ||
"request": "launch", | ||
"preLaunchTask": "build", | ||
"program": "^\"\\${workspaceRoot}/bin/Debug/<target-framework>/<project-name.dll>\"", | ||
"args": [], | ||
"cwd": "^\"\\${workspaceRoot}\"", | ||
"stopAtEntry": false, | ||
"console": "internalConsole", | ||
"pipeTransport": { | ||
"pipeCwd": "^\"\\${workspaceRoot}\"", | ||
"pipeProgram": "enter the fully qualified path for the pipe program name, for example '/usr/bin/ssh'", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 'pipeProgram' also? |
||
"pipeArgs": [], | ||
"debuggerPath": "enter the path for the debugger on the target machine, for example ~/vsdbg/vsdbg" | ||
} | ||
} | ||
}, | ||
{ | ||
"label": ".NET: Attach to remote .NET Core App", | ||
"description": "Attach a debugger to a .NET Core App on a remote machine.", | ||
"body": { | ||
"name": ".NET Core Attach", | ||
"type": "coreclr", | ||
"request": "attach", | ||
"processId": "^\"\\${command:pickRemoteProcess}\"", | ||
"pipeTransport": { | ||
"pipeCwd": "^\"\\${workspaceRoot}\"", | ||
"pipeProgram": "enter the fully qualified path for the pipe program name, for example '/usr/bin/ssh'", | ||
"pipeArgs": [], | ||
"debuggerPath": "enter the path for the debugger on the target machine, for example ~/vsdbg/vsdbg" | ||
} | ||
} | ||
} | ||
], | ||
"initialConfigurations": [ | ||
{ | ||
"name": ".NET Core Launch (console)", | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we put 'Console' in the title?