-
Notifications
You must be signed in to change notification settings - Fork 15
Debug
Marcelo Formentão edited this page Jul 9, 2018
·
2 revisions
The vsts-task-lib allow to pass properties running on development and debugging errors. The base script is yarn dev:debug
, creating a connection with chrome devtools.
To it work properly, you first need to export options, for example:
export INPUT_GITHUBENDPOINT='EP'
export ENDPOINT_URL_EP='https://www.github.com/'
export ENDPOINT_AUTH_EP='{"parameters":{"accessToken":"*****"}}'
export INPUT_GITHUBREPOSITORY='owner/repository'
export INPUT_GITHUBTAG='v0.0.0'
export INPUT_GITHUBRELEASETITLE='v0.0.0'
export INPUT_GITHUBRELEASEDRAFT=True/False
export INPUT_GITHUBRELEASEASSET='xxxx\**\*.png'
export INPUT_MANIFESTJSON='xxxx\manifest.json'
Then yarn dev:debug