久久久久久久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>

                            主站蜘蛛池模板: 伦一理一级一a一片 | 免费av大片| 久久久www成人免费精品 | 在线观看二区 | 国产精品久久久久久久久久久久久 | 国产成人免费在线视频 | 亚洲欧美第一页 | 亚洲在线一区二区 | 日韩在线资源 | 亚洲精品一区二区三区精华液 | 久草黄色 | 国产一级一片免费播放放a 男男成人高潮片免费网站 精品视频在线观看 | 亚洲一区二区欧美 | 97成人在线 | 国产草草| 麻豆中文字幕 | 免费观看全黄做爰的视频 | 日韩视频免费看 | 青青草精品视频 | 啪啪免费网站 | 黄色a毛片 | 国产又黄又粗 | 天天拍夜夜操 | 欧美一区二区在线播放 | 四虎8848精品成人免费网站 | 黄色小视频在线免费观看 | 一级做a爰片久久毛片潮喷 亚洲黄色天堂 | 亚洲第一区在线观看 | 欧美在线免费 | 国产成人在线免费观看 | 国产黄色一区 | 久久日韩精品 | 在线免费国产 | av看片| 久久精品99久久久久久 | 国产女人水真多18毛片18精品 | 国产成人在线免费观看 | 国产视频一区二区在线观看 | 欧美精品第一页 | 一二区视频 | 欧美精品一区二区三区四区 |