On very first run of app from Test iOS the command is not executed.
tns create app1 --js
tns test init
Open the app in VSCode and run from Test on iOS
VSCode hangs on: [NSDebugAdapter] Running tns command... and the command is not executed
If you kill the debugger and run Test on iOS again the command is executed
Could not load source 'undefined': Could not retrieve content.. when exiting the test method
tns create app1 --js
tns test init
Open app in VSCode, set breakpoint in tests/example.js file
Run from Test on iOS or Android
Breakpoint in test is hit. Step over until you exit the test method. You receive Could not load source 'undefined': Could not retrieve content.. message
I think run tests with debug in vs code would make tests troubleshoting easier.
Maybe add parameter: "request": "test"
It should replace debug to test in command line.