code-debug 0.3.0 released (GDB for vscode)

WebFreak001 via Digitalmars-d-announce digitalmars-d-announce at puremagic.com
Wed Feb 10 16:34:57 PST 2016


On Wednesday, 10 February 2016 at 21:57:49 UTC, Joel wrote:
> I get this with the debug gear button:
> {
> 	"version": "0.2.0",
> 	"configurations": [
> 		{
> 			"name": "Debug",
> 			"type": "gdb",
> 			"request": "launch",
> 			"target": "./output",
> 			"cwd": "${workspaceRoot}"
> 		}
> 	]
> }

Thats correct. Just change the target to your actual executable 
and you could debug. If you want to build it before debugging, 
create a build task and add a preLaunchTask to the config


More information about the Digitalmars-d-announce mailing list