Skip to content

Commit 3fb2f75

Browse files
committed
vscode support: on macos, use codelldb as debugger when writing launch.json
1 parent 3d05e74 commit 3fb2f75

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

mod/tools/vscode.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,9 @@ def write_launch_json(fips_dir, proj_dir, vscode_dir, cfg, proj_settings):
9191
'cwd': deploy_dir,
9292
'args': [],
9393
}
94-
if host_platform == 'win':
94+
if host_platform == 'osx':
95+
launch_config['type'] = 'lldb'
96+
elif host_platform == 'win':
9597
launch_config['type'] = 'cppvsdbg'
9698
elif host_platform == 'linux':
9799
launch_config['type'] = 'cppdbg'

0 commit comments

Comments
 (0)