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

"serialNumber" property located in local user settings instead of launch.json #997

Open
miitors-ara opened this issue Mar 14, 2024 · 3 comments

Comments

@miitors-ara
Copy link

Is your feature request related to a problem? Please describe.
When working multiple people on the same project using SCM, it is annoying to have to resolve merge conflicts every time a new commit is made due to the serialNumber property being in launch.json.

Describe the solution you'd like
The "serialNumber" property should be located in user settings.

@selectstriker2
Copy link

Have you tried removing the "serialNumber" property altogether? I'm using a J-Link and I've never had to include the "serialNumber" property in my launch.json

@miitors-ara
Copy link
Author

sorry, I should have noted that I have multiple debuggers connected to my computer, so I need to specify which one to use.

@miitors-ara
Copy link
Author

I found out that you can put custom settings in the user settings.json and reference it from the launch.json. Example:
In settings.json
"serialNumber": <your serial number>
In launch.json:
"serialNumber": "${config:serialNumber}",

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

2 participants