Trigger run and debug mode

Anshal 1,201 Reputation points
2022-09-09T05:54:24.97+00:00

Hi friends why it is important pipeline in debug mode or trigger run in my one of question asked it is asked is it have impact on pipeline

Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
7,990 questions
{count} votes

Accepted answer
  1. ShaikMaheer-MSFT 34,536 Reputation points Microsoft Employee
    2022-09-09T10:34:22.483+00:00

    Hi @Anshal ,

    Thank you for posting query in Microsoft Q&A Platform.

    Debug run:

    • Debug run will execute pipeline with draft changes also, That means lets say you did some changes in pipeline and not published them yet. Still Debug run will execute pipeline by considering that changes as well.
    • Debug Run cannot be scheduled. Its always manual run.

    Trigger run:

    • Trigger run will execute pipeline with published version only. Drafted changes made in the pipeline will not be considered in it.
    • Trigger run can be scheduled. Above are the main difference between debug run and Trigger run in layman terminology

    Now, coming to query, why Microsoft support team asked is it debug run or Trigger run?

    We cannot predict the exact reason behind it, depending on the issue to understand the root cause or to check logs in backend or repro scenario or based on nature of issue it may needed for them to better help with troubleshooting issue.

    Hope this helps. Please let me know if any further queries.


    Please consider hitting Accept Answer button and Up-Vote. Accepted answers help community as well.

    1 person found this answer helpful.
    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Nandan Hegde 25,296 Reputation points MVP
    2022-09-09T10:04:22.637+00:00

    Hey,
    There are multiple queries which is asked when a ticket is raised to get some background on the issues which are as below:

    1. Was the pipeline running till date and has suddenly stopped failing
    2. The 2nd scenario is w.r.t debug vs trigger due to below case scenarios:
      a) https://learn.microsoft.com/en-us/answers/questions/841434/azure-data-factory-debug-run-not-working.html
      for debugging in data flows, some setting needs to be done:
      https://learn.microsoft.com/en-us/azure/data-factory/concepts-data-flow-debug-mode?tabs=data-factory

    b) Also, there are scenarios wherein the published version of pipeline is triggered by ADF and not the draft version which is executed in debug.

    1 person found this answer helpful.