File tree Expand file tree Collapse file tree 1 file changed +26
-1
lines changed
Expand file tree Collapse file tree 1 file changed +26
-1
lines changed Original file line number Diff line number Diff line change @@ -116,6 +116,31 @@ Once you have completed the previous steps to `npm link` the local copy of `angu
116116
1171175 . You can remove the link later by running ` npm unlink `
118118
119+ 6 . We can debug the deployment with VSCode within ` your-angular-project ` , too.
120+ Go to ` your-angular-project/node_modules/angular-cli-ghpages/deploy/actions.js ` and place a breakpoint there.
121+ Now you can debug with the following ` launch.json ` file:
122+
123+ ``` json
124+ {
125+ "version" : " 0.2.0" ,
126+ "configurations" : [
127+ {
128+ "type" : " node" ,
129+ "request" : " launch" ,
130+ "name" : " Debug ng deploy" ,
131+ "skipFiles" : [" <node_internals>/**" ],
132+ "program" : " ${workspaceFolder}/node_modules/@angular/cli/bin/ng" ,
133+ "cwd" : " ${workspaceFolder}" ,
134+ "sourceMaps" : true ,
135+ "args" : [" deploy" , " --no-build" ]
136+ }
137+ ]
138+ }
139+ ```
140+
141+ ````
142+
143+
119144### 4. Testing
120145
121146Testing is done with [Jest](https://jestjs.io/).
@@ -124,7 +149,7 @@ To run the tests:
124149```sh
125150cd angular-cli-ghpages/src
126151npm test
127- ```
152+ ````
128153
129154## Testing the standalone CLI
130155
You can’t perform that action at this time.
0 commit comments