-
Notifications
You must be signed in to change notification settings - Fork 42
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
Set up launch.json to open each sample in VSCode #16
Comments
Keeping a list of notes for future reference:
|
Quick update on findings:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In order to launch and debug in VSCode, the
.vscode/Launch.json
file needs to be set up for each sample with options to run the project.The guidance from Uno is one approach, but will quickly bloat the Run dropdown and requires additional user interaction.
Instead, we can take a cue from the Uno QuickStart guide, and set up a small script that takes a project path as passed as an argument. This will allow us to have 1 project per dropdown item.
This script will need to:
uno-check --non-interactive --target wasm --fix
to set ensure the environment is set up properly, without bothering the user.dotnet run
the app at the given path and kick off the debug session.The text was updated successfully, but these errors were encountered: