Skip to content
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

Issue with launch.json on Win11-x64 #12

Open
camrobert opened this issue Oct 5, 2023 · 0 comments
Open

Issue with launch.json on Win11-x64 #12

camrobert opened this issue Oct 5, 2023 · 0 comments

Comments

@camrobert
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant