can i local debug cloudscript using Azure functions to call playfab GetTitleData?

peng cui 0 Reputation points

can i local debug cloudscript using Azure functions to GetTitleData?

i use vscode to open an Azure function project , and F5 to start debugging

then i start edge nav to:


an breakpoint stoped in CollectUserEvent, but when i called :

var api = new PlayFabServerInstanceAPI... var result = api.GetTitleDataAsync..

i got an error:

"The URL for this request is not valid for this title. The correct API endpoint is https://?????"


Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,471 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. MuthuKumaranMurugaachari-MSFT 22,256 Reputation points

    peng cui Thanks for posting your question in Microsoft Q&A. You can debug Azure Functions in VS code to get PlayFab Title. Here is the doc: Calling your function using HTTP requests from Visual Studio Code which uses REST Client extension and also has sample code snippet to get the title.

    Based on the exception, it looks like API endpoint was incorrect and suggest you validate and follow the steps in the doc. Currently, Azure PlayFab is not supported in Q&A forums. Please ask the experts in the dedicated forum and the community experts can assist you with your questions. Supported products of Q&A forums are listed in (more to be added later). I hope this helps.

    0 comments No comments