question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Question]: Download remote settings for multiple functions in a workspace

See original GitHub issue

Hi,

I had a question in regards to downloading remote settings for a function app.

My workspace contains multiple function apps. I am able to deploy, test it, it all seems to work fine.

But when I try to download remote settings, it will prompt if local.settings.json doesn’t exist for my first function app. But if I try to select another function app and download it, I no longer have the prompt to select the target folder/app to download it to. It always overwrites the first one.

How do I force it to ask me every time what app to download the remote settings for?

Hope you can help, thanks!

Here is a screenshot of what I mean:

image

Issue Analytics

  • State:open
  • Created 10 months ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
nturinskicommented, Dec 8, 2022

I believe it’s related. We currently only grab the local.settings.json from the first workspace folder. I think the solution would be the same. I think we can just fix it all in this one issue, but thanks for bringing it to our attention 😊

1reaction
simplecommercecommented, Dec 6, 2022

@nturinski I think I spoke too soon, is it possible that it currently also doesn’t support multiple local.settings.json for a workspace containing multiple functions?

See attached screenshots:

In this image, I have 3 functions and the local.settings.json is in the one I want to test. image

When I select that function and try to run it, I get this error. image

It works if I copy/paste the local.settings.json in the first one.

I assume this is the same issue but with the test/run feature.

If you confirm, should I create a separate issue for this?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Multi-root Workspaces in Visual Studio Code
In this article. Adding folders; Workspace file; General UI; Settings; Debugging; Tasks; Source Control; Extensions; Next steps; Common questions.
Read more >
Manage workspaces in portal or Python SDK (v2) - Azure ...
Learn how to manage Azure Machine Learning workspaces in the Azure portal or with the SDK for Python (v2).
Read more >
Workspace ONE Assist - VMware Docs
1. Queue Remote Control Command. 6. Request Session URL. ; 2. Queuing Command to Connect to Server. 7. Admin Joins Session. ; 3....
Read more >
State: Workspaces | Terraform - HashiCorp Developer
The backend initially has only one workspace containing one Terraform state associated with that configuration. Some backends support multiple named ...
Read more >
Amazon WorkSpaces FAQs | Persistent Desktop Virtualization
Get answers to frequently asked questions about Amazon WorkSpaces, a fully managed cloud desktop solution from AWS.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found