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
Followed installation steps and verified all dependencies (.NET 7, etc)
When attempting to "Run and Debug" for the first time - there is NO .vscode folder or launch.json file.
VS Code attempts to make one, but it is empty.
The error mentioned a missing "targetArchitecture" value.
The following code was manually entered/altered to make it work: { "version": "0.2.0", "configurations": [ { "name": "Launch (web)", "type": "coreclr", "request": "launch", "args": "ampscript --source ${file}", "program": "C:\\Users\\(username)\\.vscode\\extensions\\salesforce.ampscript-0.0.5\\.Sage\\Sage.Webhost.dll", "cwd": "${workspaceFolder}", "targetArchitecture": "x86_64", "stopAtEntry": false, "serverReadyAction": { "action": "openExternally", "pattern": "\\bNow listening on:\\s+(https?://\\S+)" }, "env": { "ASPNETCORE_ENVIRONMENT": "Development" }, "sourceFileMap": { "/Views": "${workspaceFolder}" } } ] }
Suggest auto-generating the launch.json file to make it easier for users - or provide a quick-start guide for Win11 users to self triage the error.
The text was updated successfully, but these errors were encountered:
Followed installation steps and verified all dependencies (.NET 7, etc)
When attempting to "Run and Debug" for the first time - there is NO .vscode folder or launch.json file.
VS Code attempts to make one, but it is empty.
The error mentioned a missing "targetArchitecture" value.
The following code was manually entered/altered to make it work:
{ "version": "0.2.0", "configurations": [ { "name": "Launch (web)", "type": "coreclr", "request": "launch", "args": "ampscript --source ${file}", "program": "C:\\Users\\(username)\\.vscode\\extensions\\salesforce.ampscript-0.0.5\\.Sage\\Sage.Webhost.dll", "cwd": "${workspaceFolder}", "targetArchitecture": "x86_64", "stopAtEntry": false, "serverReadyAction": { "action": "openExternally", "pattern": "\\bNow listening on:\\s+(https?://\\S+)" }, "env": { "ASPNETCORE_ENVIRONMENT": "Development" }, "sourceFileMap": { "/Views": "${workspaceFolder}" } } ] }
Suggest auto-generating the launch.json file to make it easier for users - or provide a quick-start guide for Win11 users to self triage the error.
The text was updated successfully, but these errors were encountered: