In my python project I have a configuration where the default script to run is relative to my project directory, so it is basically:
%rp../src/dir1/dir2/file.py
It runs fine when I do "execute".
But when I run debug the %rp is not getting expanded to the project directory and I see an error like below:
File "/home/aptRoot/apttools/python/64/Python-3.8.0/lib/python3.8/runpy.py", line 231, in _get_code_from_file
with open(fname, "rb") as f:
FileNotFoundError: [Errno 2] No such file or directory: '%rp../src/mc5u/MC5U/Tools/axf2bin/axf2bin.py'
For debug, it is also not expanding the %rp when it is in "Script arguments". When executing it does expand the %rp.