Skip to content

Commit

Permalink
docs: update debug documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
shiqimei committed Jun 12, 2023
1 parent 49cace8 commit 787aadb
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,22 @@ bash scripts/test.sh # run test262 tests

You can find `libquickjs.a` in `lib` folder and `qjs` / `run-test262` in `bin` folder.

1. If you're using Visual Studio Code, you can use the `CMake Tools` extension to build and debug.
2. If you're using CLion, you can open the project directly to build and debug.
1. If you're using Visual Studio Code, you can use the `CMake Tools` extension to build the program.
2. If you're using CLion, you can open the project directly to build the program.

Using VSCode or CLion for regular development is recommended.

#### Debug

Install Debug Tools if you need.

```bash
brew install lldb # macOS
sudo apt install lldb # Ubuntu
```

If you're using VSCode, you can use the `C/C++` and `Code LLDB` extension to debug.

Pass this argument to cmake enable debug log on release build.

```
Expand Down

0 comments on commit 787aadb

Please sign in to comment.