久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

    <bdo id='oCCk3'></bdo><ul id='oCCk3'></ul>
  • <small id='oCCk3'></small><noframes id='oCCk3'>

  • <i id='oCCk3'><tr id='oCCk3'><dt id='oCCk3'><q id='oCCk3'><span id='oCCk3'><b id='oCCk3'><form id='oCCk3'><ins id='oCCk3'></ins><ul id='oCCk3'></ul><sub id='oCCk3'></sub></form><legend id='oCCk3'></legend><bdo id='oCCk3'><pre id='oCCk3'><center id='oCCk3'></center></pre></bdo></b><th id='oCCk3'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='oCCk3'><tfoot id='oCCk3'></tfoot><dl id='oCCk3'><fieldset id='oCCk3'></fieldset></dl></div>
    <legend id='oCCk3'><style id='oCCk3'><dir id='oCCk3'><q id='oCCk3'></q></dir></style></legend>
      1. <tfoot id='oCCk3'></tfoot>
      2. 如何調試 Gulp 任務?

        How to debug a Gulp task?(如何調試 Gulp 任務?)
        • <bdo id='TVF76'></bdo><ul id='TVF76'></ul>

                <tbody id='TVF76'></tbody>

              <small id='TVF76'></small><noframes id='TVF76'>

              • <i id='TVF76'><tr id='TVF76'><dt id='TVF76'><q id='TVF76'><span id='TVF76'><b id='TVF76'><form id='TVF76'><ins id='TVF76'></ins><ul id='TVF76'></ul><sub id='TVF76'></sub></form><legend id='TVF76'></legend><bdo id='TVF76'><pre id='TVF76'><center id='TVF76'></center></pre></bdo></b><th id='TVF76'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='TVF76'><tfoot id='TVF76'></tfoot><dl id='TVF76'><fieldset id='TVF76'></fieldset></dl></div>
                <tfoot id='TVF76'></tfoot>

                  <legend id='TVF76'><style id='TVF76'><dir id='TVF76'><q id='TVF76'></q></dir></style></legend>
                  本文介紹了如何調試 Gulp 任務?的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                  問題描述

                  限時送ChatGPT賬號..

                  如何使用諸如 Google Chrome 調試器之類的調試器來調試在我的 gulpfile.js 中定義的 gulp 任務,逐行執行任務的代碼?

                  How do I debug a gulp task defined in my gulpfile.js with a debugger such as the Google Chrome debugger, stepping through the task's code line by line?

                  推薦答案

                  使用 Node.js 6.3+ 版本,您可以使用 --inspect flag 在運行你的任務時.

                  With Node.js version 6.3+ you can use the --inspect flag when running your task.

                  調試名為 css 的 gulp 任務:

                  To debug a gulp task named css:

                  1. 找出你的 gulp 可執行文件在哪里.如果 gulp 安裝在本地,它將位于 node_modules/.bin/gulp.如果 gulp 已全局安裝,請在終端中運行 which gulp (Linux/Mac) 或 where gulp (Windows) 以找到它.

                  1. Find out where your gulp executable lives. If gulp is installed locally, this will be at node_modules/.bin/gulp. If gulp is installed globally, run which gulp (Linux/Mac) or where gulp (Windows) in a terminal to find it.

                  根據您的 Node.js 版本運行這些命令之一.如果需要,請將 ./node_modules/.bin/gulp 替換為步驟 1 中 gulp 安裝的路徑.

                  Run one of these commands according to your version of Node.js. If required, replace ./node_modules/.bin/gulp with the path to your gulp installation from step 1.

                  • Node.js 6.3+:node --inspect --debug-brk ./node_modules/.bin/gulp css
                  • Node.js 7+:node --inspect-brk ./node_modules/.bin/gulp css

                  使用 Chrome 瀏覽到 chrome://inspect.

                  Use Chrome to browse to chrome://inspect.

                  --debug-brk (Node.js 6.3+) 和 --inspect-brk (Node.js 7+) 標志用于暫停代碼執行在任務的第一行代碼上.這讓您有機會在任務完成之前打開 Chrome 調試器并設置斷點.

                  The --debug-brk (Node.js 6.3+) and --inspect-brk (Node.js 7+) flags are used to pause code execution on the first line of code of your task. This gives you a chance to open up the Chrome debugger and set breakpoints before the task finishes.

                  如果您不希望調試器在第一行代碼處暫停,只需使用 --inspect 標志.

                  If you don't want the debugger to pause on first line of code, just use the --inspect flag.

                  您還可以安裝 Node.js Inspector Manager (NIM) Chrome 擴展以幫助完成第 3 步.這將自動打開一個 Chrome 選項卡,調試器已準備就緒,作為手動瀏覽 URL 的替代方法.

                  You can also install the Node.js Inspector Manager (NIM) extension for Chrome to help with step 3. This will automatically open up a Chrome tab with the debugger ready to go, as an alternative to manually browsing to a URL.

                  這篇關于如何調試 Gulp 任務?的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

                  【網站聲明】本站部分內容來源于互聯網,旨在幫助大家更快的解決問題,如果有圖片或者內容侵犯了您的權益,請聯系我們刪除處理,感謝您的支持!

                  相關文檔推薦

                  Browserify, Babel 6, Gulp - Unexpected token on spread operator(Browserify,Babel 6,Gulp - 傳播運算符上的意外令牌)
                  Is it possible to pass a flag to Gulp to have it run tasks in different ways?(是否可以將標志傳遞給 Gulp 以使其以不同的方式運行任務?)
                  Why do we need to install gulp globally and locally?(為什么我們需要在全局和本地安裝 gulp?)
                  How to run Gulp tasks sequentially one after the other(如何一個接一個地依次運行 Gulp 任務)
                  Visual Studio 2015 crashes when opening Javascript files(打開 Javascript 文件時 Visual Studio 2015 崩潰)
                  Detect FLASH plugin crashes(檢測 FLASH 插件崩潰)

                    • <i id='xlqx9'><tr id='xlqx9'><dt id='xlqx9'><q id='xlqx9'><span id='xlqx9'><b id='xlqx9'><form id='xlqx9'><ins id='xlqx9'></ins><ul id='xlqx9'></ul><sub id='xlqx9'></sub></form><legend id='xlqx9'></legend><bdo id='xlqx9'><pre id='xlqx9'><center id='xlqx9'></center></pre></bdo></b><th id='xlqx9'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='xlqx9'><tfoot id='xlqx9'></tfoot><dl id='xlqx9'><fieldset id='xlqx9'></fieldset></dl></div>
                      <legend id='xlqx9'><style id='xlqx9'><dir id='xlqx9'><q id='xlqx9'></q></dir></style></legend>
                          <tbody id='xlqx9'></tbody>
                        <tfoot id='xlqx9'></tfoot>

                        <small id='xlqx9'></small><noframes id='xlqx9'>

                          <bdo id='xlqx9'></bdo><ul id='xlqx9'></ul>

                            主站蜘蛛池模板: 羞羞视频网站免费看 | 国产99精品 | 国产精品高潮呻吟久久aⅴ码 | 久久成人精品一区二区三区 | 亚洲免费片 | 久久综合一区二区 | 91精品国产自产精品男人的天堂 | 亚洲永久精品国产 | 亚洲欧美视频 | 天天影视亚洲综合网 | 999国产精品视频免费 | 久久国产亚洲 | 亚洲一区二区三区在线观看免费 | 欧美一区二区视频 | 日日摸日日添日日躁av | 老司机久久 | 亚洲精品在线观看网站 | 国产高清一区 | 777zyz色资源站在线观看 | 亚洲精品久久久久久一区二区 | 99精品国产一区二区青青牛奶 | 欧美成人一区二免费视频软件 | 人人叉| 在线观看国产三级 | 国产区在线观看 | 久久国产福利 | 六月色婷| 欧美成人免费在线 | 午夜精品视频在线观看 | 99re国产 | 国产高潮好爽受不了了夜夜做 | 一区二区三区国产精品 | 亚洲欧美日韩精品久久亚洲区 | 天天色图 | 无码一区二区三区视频 | 在线成人www免费观看视频 | 中文字幕动漫成人 | 精品国产乱码久久久久久a丨 | 国产伦精品一区二区三区视频金莲 | 天堂久久天堂综合色 | 久久婷婷国产香蕉 |