releaseStage

2018-04-28 11:10 更新

releaseStage指的是應(yīng)用開發(fā)階段,例如『開發(fā)』、『測(cè)試』、『生產(chǎn)』:

  • development
  • test
  • production

默認(rèn)情況下,F(xiàn)undebug會(huì)自動(dòng)識(shí)別releaseStage。用戶也可以通過(guò)設(shè)置releaseStage以區(qū)分不同階段的錯(cuò)誤。

  1. 在HTML中配置<script>標(biāo)簽中配置releaseStage屬性

    <script src="https://og6593g2z.qnssl.com/fundebug.0.0.5.min.js" 
            apikey="API-KEY" 
            releaseStage="development"></script>
    
  2. 在JavaScript中配置relseaseStage變量

    fundebug.releaseStage = "development";
以上內(nèi)容是否對(duì)您有幫助:
在線筆記
App下載
App下載

掃描二維碼

下載編程獅App

公眾號(hào)
微信公眾號(hào)

編程獅公眾號(hào)