Skip to main content

Added system args in launch.json , able to see them in output console but when deploying it getting couldn't find the property.  

added -Dmule.env=Dev able to see it in output console, but getting couldn't find ${mule.env} while debug/run in VS Code. 

 

Adding system args in VS Code Anypoint Code builder for debug profiles

 

 

 

image.png

 

Anything am missing here?  

 

답변 1개
  1. Manish Kumar Yadav (Hitachi Energy) Forum Ambassador
    2025년 12월 24일 오후 9:52

    Hello, 

     

    For ACB, You can try below and let me know in comment section. 

     

    1. For Lauch.json file, use below for windows machine. 

     

    "windows": {"mule.runtime.args": "${config:mule.runtime.defaultArguments} -M-Denv=Dev" }

    2. Or Use your same solution if it works with -M-Denv=Dev else use option 1 . 

     

    3. Open Setting in ACB and set indefault Argument like below: 

     

     

    Hello, For ACB, You can try below and let me know in comment section. 1. For Lauch.json file, use below for windows machine.

     

    Thanks, 

    Manish Kumar Yadav 

    Trailblazer Community Forum Ambassadors 

     

0/9000