Having problems attempting to debug BC REST API code units.
There are a lot of web posts (see bottom of post for number of references) but seems to primarily apply to application.
I have tried various combinations - and at times it seems to be doing something however I tend to lock up my local Docker instance. I think it might be triggering breakpoints when service is called but doesn't fire?
There seems to be an order - first debug (F5) then Ctrl-Shift-F5 (debug without publishing). Does this apply to REST code unit web services as well?
Launch.json:
{
"name": "Attach Debug Server",
"type": "al",
"request": "attach",
"server": "">http://localbc",
"serverInstance": "BC",
"authentication": "UserPassword",
"breakOnError": true,
"breakOnRecordWrite": false,
"enableSqlInformationDebugger": true,
"enableLongRunningSqlStatements": true,
"longRunningSqlStatementsThreshold": 500,
"numberOfSqlStatements": 10,
"breakOnNext": "WebServiceClient"
},