You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 15, 2019. It is now read-only.
I have a simple HTTP function, literally copied from the default function that you get when you create a new HTTP Function in the UI:
exports.helloWorld=functionhelloWorld(req,res){// Example input: {"message": "Hello!"}if(req.body.message===undefined){// This is an error case, as "message" is required.res.status(400).send('No message defined!');}else{// Everything is okay.console.log(req.body.message);res.status(200).send('Success: '+req.body.message);}};
When debugging (with default emulator setting) using Visual Studio Code, I "attach" to the emulator (after having started with --debug) and my break point fires after issuing a curl command from the terminal. Hitting "play" in VS Code seems to cause execution to continue, but the function doesn't return from the curl command
The text was updated successfully, but these errors were encountered:
Description
I have a simple HTTP function, literally copied from the default function that you get when you create a new HTTP Function in the UI:
When debugging (with default emulator setting) using Visual Studio Code, I "attach" to the emulator (after having started with
--debug
) and my break point fires after issuing acurl
command from the terminal. Hitting "play" in VS Code seems to cause execution to continue, but the function doesn't return from thecurl
commandThe text was updated successfully, but these errors were encountered: