microsoft / microsoft/azure-tools-for-java
Azure Functions Run Configuration doesn't work for kotlin projects
@Flanker32 is already working on this.
Since Dec 1, 2021.
- Dominant language
- Java
- Stars
- 262
- Forks
- 185
- Avg merge
- 2d 21h
- Merged PRs (30d)
- 1
Description
I have created a maven based Azure Functions project using the kotlin archetype as mentioned in the documentation here https://docs.microsoft.com/en-us/azure/azure-functions/functions-create-maven-kotlin-intellij
When attempting to run the function using the Azure Functions run configuration it fails with a popup containing the message
Failed to run function app locally, as failed prepare staging folder[/tmp/azure-functions9016980085653394574] failed
And in the terminal there is an error message
Unable to find project root. Expecting to find one of host.json, local.settings.json in project root.

Is support for kotlin to be expected in the future? It would be nice to be able to do in-process debugging instead of using the remote debugger.
We have tested this on both Linux and Windows with the same result.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.