Skip to content

Commit 04ad20d

Browse files
committed
add setup manual
1 parent 643866f commit 04ad20d

File tree

2 files changed

+22
-0
lines changed

2 files changed

+22
-0
lines changed

dap-extension/README.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,27 @@
22

33
This is the README for your extension "dap-extension". After writing up a brief description, we recommend including the following sections.
44

5+
## VSCode setup
6+
7+
Enable `allow breakpoints everywhere` option in VSCode settings.
8+
9+
## Run `dap-extension`
10+
11+
* Open `dap-extension` folder by using the `Files/Open Folder` menu.
12+
* Open the `src/extension.ts` file.
13+
* press F5 to run the extension in a new VSCode window.
14+
15+
## `dap-extension` debug setup and usage
16+
17+
* Open your project folder that contains the `.fullpak` file
18+
* Select the debug view on the side bar
19+
* click to `create a launch.json file`, then select `dap-extension`
20+
* edit the `.fullpak` path
21+
22+
* start `dap` server: `(cd dap ; stack build ; stack exec dap)`
23+
24+
* press F5
25+
526
## Features
627

728
Describe specific features of your extension including screenshots of your extension in action. Image paths are relative to this README file.

dap-extension/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
},
3535
"initialConfigurations": [
3636
{
37+
"name": "my project",
3738
"type": "dap-extension",
3839
"request": "attach",
3940
"program": "${workspaceFolder}/test.fullpak"

0 commit comments

Comments
 (0)