File tree Expand file tree Collapse file tree 2 files changed +23
-0
lines changed Expand file tree Collapse file tree 2 files changed +23
-0
lines changed Original file line number Diff line number Diff line change 4
4
* [ Advanced Topics] ( advanced-topics.md )
5
5
* [ CLI Reference] ( cli-reference.md )
6
6
* [ Core Reference] ( core-reference.md )
7
+ * [ Debugging] ( debugging.md )
Original file line number Diff line number Diff line change
1
+ # Debugging
2
+
3
+ Here you find how to configure your favorite IDE to debug your code.
4
+
5
+ ## Visual Studio Code
6
+ Press f1 and look for launch.json. Inside the "configurations" array, insert the following object:
7
+ ``` json
8
+ {
9
+ "type" : " node" ,
10
+ "request" : " launch" ,
11
+ "name" : " Launch Program" ,
12
+ "cwd" : " ${workspaceRoot}" ,
13
+ "port" : 5859 ,
14
+ "program" : " ${workspaceRoot}/node_modules/botpress/bin/botpress" ,
15
+ "runtimeExecutable" : " node" ,
16
+ "runtimeArgs" : [
17
+ " --debug"
18
+ ],
19
+ "args" : [ " start" ],
20
+ "stopOnEntry" : false
21
+ }
22
+ ```
You can’t perform that action at this time.
0 commit comments