Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Fix typo

...

SourceCode is shown from BC19 

Source code can be viewed from BC19 and forward.

SourceCode not shown in BC13..BC18

Mobile WMS extension has it´s source code hidden.

...

Before debugging can be started, the partner needs to create a sandbox copy of the production environment containing the error to troubleshoot.


Debug with the request property set to “Attach”

It´s possible to debug an error from a webservice call by setting the Request property to “Aattach”“Attach”.

This will allow you to attach debugger from VS Code to a sandbox environment without deploying any app file.

...

You will not be able to see the call stack or any code.


Debug with the request property set to “Launch”

You can deploy a copy of the specific app version manually from VS Code to the sandbox. You need to manually change the ShowMyCode property to “true” and update the launch.json with endpoint information.

...

(This should be OK – because the sandbox was only created for the purpose of debugging and should be deleted afterwards)

 

Username must match  

You must Log in to Mobile WMS, with the same Username as VS Code Publish/attaches to Sandbox

...

Example of Launch.json file for “Attach” debugging:


{

    "version": "0.2.0",

    "configurations": [

        {

            "name": "Microsoft cloud sandbox",

            "request": "attach",

            "type": "al",

            "environmentType": "Sandbox",

            "environmentName": "NameOfYourSandbox",                      

            "breakOnError": true,  

            "breakOnNext": "WebServiceClient",          

            "enableLongRunningSqlStatements": true,

            "enableSqlInformationDebugger": true,

            "tenant": "taskletfactory.onmicrosoft.com" or "YourCompany.com"

        }

    ]

}



Example of Launch.json file for “Launch” debugging:

{

    "version": "0.2.0",

    "configurations": [

        {

            "name": "Microsoft cloud sandbox",

            "request": "launch",

            "type": "al",

            "environmentType": "Sandbox",

            "environmentName": " NameOfYourSandbox ",            

            "breakOnError": true,

            "launchBrowser": true,

            "enableLongRunningSqlStatements": true,

            "enableSqlInformationDebugger": true,

            "tenant":   "TaskletfactoryYourCompany.onmicrosoft.com" or "YourCompany.com"

        }

    ]

}


See also

Filter by label (Content by label)
showLabelsfalse
max5
spacesTFSK
showSpacefalse
sortmodified
reversetrue
typepage
excludeCurrenttrue
cqllabel = "troubleshooting" and label = "bc" and space = "TFSK"
labelsMobiControl lockdown locked administrator