Proper command line URI for env and sourcemap? #464
-
I am able to run the command line like so: codium --open-url "vscode://vadimcn.vscode-lldb/launch/config?program: /home/awesome/Projects/debug/example%0AinitCommands:%0A- 'platform select remote-linux'%0A- 'platform settings -w /site'%0A- 'platform connect connect://localhost:19111'%0A" But when I try to use the env object mapping as an array, example: env:%0A- 'BIN_DIR=/site'%0A- 'BIN_NAME=example'%0A- 'TZ=America/Los_Angeles'%0A Or use the sourcemap object mapping as an object, example: sourceMap:%0A '/home/temp/src:/home/awesome/Projects/debug'%0A In codium, I get
My questions are - if I am not mapping the URI properly, could someone give me an example that works, or, if they are not implemented, what alternative commands would work? (for example, adding - 'env VAR' to my initCommands may work, but I'm not sure the command for sourcemap). |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
In codelldb |
Beta Was this translation helpful? Give feedback.
In codelldb
env
is a dictionary, you should be using it like so:'BIN_NAME': 'example'
.Your source map looks like a string with a colon in the middle rather than a mapping. Try
'/home/temp/src': '/home/awesome/Projects/debug'
.BTW, I think it would be easier to use JSON syntax here instead of the line-oriented YAML.