Debugging with the Console | Postman Level Up

preview_player
Показать описание
Level up your Postman game: Joyce Lin explains how to use the Postman console for more visibility while debugging in one minute.

Contact us:
If you have questions or comments about any Postman features, pricing, or anything else, our team is always ready. Simply visit our Support Center to get started:
Рекомендации по теме
Комментарии
Автор

Hi @Postman team, I have a simple question. Many times I write javascript in 'Pre requests scripts' or 'Tests' tab. Whenver there is some error in the javascript execution(For eg reference error or undefined error of Javascript), in the console, I am not shown the information about the variable or line where it occured. Is there a way for me to know at which line the error occured without me adding console.log() everywhere is not a clean approach. On that note, is there some kind of debugger functionality available for these 'Pre requests script' and 'Tests' tab?

pragun
Автор

Is there anyway I can save or reuse any values from console.
Eg. I have a POST method and I get a specific value in response Header under console and I wish to use it.

AshutoshMishra-qcnl
Автор

is there a way to add breakpoints in postman so that we could inspect variables on the fly?

chita-eyy