I forget leave a step to build hello world sample: 

```
ninja -C out/x64.debug v8_hello_world
```

On Thursday, April 21, 2022 at 12:15:57 PM UTC+8 Feng Yu wrote:

> I tried, but fail, below is how I do:
>
> 1. build
> ```
> tools/dev/gm.py x64.debug
> ```
> 2. make a launch.json file
> ```
> {
>   "version": "0.2.0",
>   "configurations": [
>     {
>       "name": "v8 sample Debug",
>       "type": "cppdbg",
>       "request": "launch",
>       "targetArchitecture": "x64",
>       "program": "${workspaceFolder}/out/x64.debug/v8_hello_world",
>       "args": [], // Optional command line args
>       "stopAtEntry": true,
>       "cwd": "${workspaceFolder}",
>       "MIMode": "lldb"
>     }
>   ]
> }
> ```
> 3. run and debug "v8 sample Debug"
> [image: 20220421-121447.jpeg]
>

-- 
-- 
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- 
You received this message because you are subscribed to the Google Groups 
"v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/v8-dev/f47122a9-0c46-4601-a8ff-b5d497c7acdbn%40googlegroups.com.

Reply via email to