You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add a .vscode/launch.json like this following (the key bit being "console": "externalTerminal".
{
// Use IntelliSense to learn about possible attributes.// Hover to view descriptions of existing attributes.// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387"version": "0.2.0",
"configurations": [
{
"name": ".NET Core Launch (web)",
"type": "coreclr",
"request": "launch",
"preLaunchTask": "build",
"program": "${workspaceFolder}/artifacts/bin/Shenas.Server/debug/Shenas.Server.dll",
"args": [],
"cwd": "${workspaceFolder}/src/Shenas.Server",
"stopAtEntry": false,
"console": "externalTerminal",
"env": {
"ASPNETCORE_ENVIRONMENT": "Development"
},
"sourceFileMap": {
"/Views": "${workspaceFolder}/Views"
}
},
{
"name": ".NET Core Attach",
"type": "coreclr",
"request": "attach"
}
]
}
Set the external terminal path (Linux) in user settings to /mnt/c/Users/USER_NAME/AppData/Local/Microsoft/WindowsApps/wt.exe -w 0 (replace USER_NAME with your user)
Launch the debugger through this profile — the following error will appear:
Googled the error but couldn't find anything relevant. If this is fixable on my end, please let me know.
The text was updated successfully, but these errors were encountered:
See this comment and this comment.
Does this issue occur when all extensions are disabled?: Yes/No
Steps to Reproduce:
I'm on WSL2 (Ubuntu):
.vscode/launch.json
like this following (the key bit being"console": "externalTerminal"
./mnt/c/Users/USER_NAME/AppData/Local/Microsoft/WindowsApps/wt.exe -w 0
(replaceUSER_NAME
with your user)Googled the error but couldn't find anything relevant. If this is fixable on my end, please let me know.
The text was updated successfully, but these errors were encountered: