diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 6e05925..7f30862 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -21,6 +21,10 @@ "--volume=${localWorkspaceFolder}:/workspaces/${localWorkspaceFolderBasename}:Z" ], + "containerEnv": { + "workspaceFolder": "/workspaces/${localWorkspaceFolderBasename}", + }, + // Set *default* container specific settings.json values on container create. "settings": { "lldb.executable": "/usr/bin/lldb", diff --git a/.vscode/launch.json b/.vscode/launch.json index 1d0d9b9..822ac85 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -5,11 +5,12 @@ "name": "it9910hd_fusefs", "request": "launch", "type": "gdb", - "target": "${workspaceRoot}/target/debug/it9910hd_fusefs", - "cwd": "${workspaceRoot}", + "target": "${workspaceFolder}/target/debug/it9910hd_fusefs", + "cwd": "${workspaceFolder}", "env": { "RUST_BACKTRACE": "1" }, + "arguments": "./video", "preLaunchTask": "build_it9910hd_fusefs" }, ]