Cov txheej txheem:

Kuv yuav tshuaj xyuas cov khoom hauv chrome console li cas?
Kuv yuav tshuaj xyuas cov khoom hauv chrome console li cas?

Video: Kuv yuav tshuaj xyuas cov khoom hauv chrome console li cas?

Video: Kuv yuav tshuaj xyuas cov khoom hauv chrome console li cas?
Video: Liam vim koj qhia (Official Music Video) - Nkauj Lig Hawj 2024, Kaum ib hlis
Anonim

Tshawb xyuas qhov tsim HTML ntawm Kev Tswj

  1. Right-click ib keeb thiab xaiv cov Tshawb xyuas Element los ntawm cov ntawv qhia zaub mov.
  2. Nyem qhov Tshawb xyuas Element khawm (Ctrl + Shift + C) nyob rau sab laug ces kaum ntawm Chrome DevTools thiab hover tshaj kev tswj.

Ua li no, kuv yuav siv console hauv Chrome li cas?

Txhawm rau qhib tus tsim tawm lub console qhov rais rau Chrome , siv cov keyboard shortcut Ctrl Shift J (ntawm Windows) lossis Ctrl Option J (ntawm Mac). Xwb, koj tuaj yeem ua tau siv tus Chrome ntawv qhia zaub mov nyob rau hauv lub qhov rais browser, xaiv qhov kev xaiv "Ntau yam cuab yeej," thiab ces xaiv "Developer cuab yeej."

Tsis tas li ntawd, kuv yuav tshuaj xyuas cov khoom hauv Chrome li cas? Cov kauj ruam los tshuaj xyuas lub hauv paus ntawm Google Chrome:

  1. Qhib txhua qhov chaw ntawm Chrome thiab xaiv lub caij koj xav tshuaj xyuas.
  2. Nyem rau ntawm peb qhov chaw ntsug ntawm lub sidebar, ib qho kev poob qis yuav tshwm sim tom qab ntawd xaiv Ntau cov cuab yeej -> Cov cuab yeej tsim tawm.
  3. Lub thawv khoom yuav pop tuaj thiab koj tuaj yeem hloov pauv raws li xav tau.

Kuj Paub, Kuv yuav tshuaj xyuas cov khoom hauv console li cas?

Qhov yooj yim tshaj plaws yog cia li nyem rau ntawm qhov chaw ntawm nplooj ntawv thiab xaiv ' Tshawb xyuas Element ' nyob rau hauv cov ntsiab lus-menu uas tshwm. Koj tuaj yeem tso tawm cov cuab yeej tsim tawm siv cov keyboard shortcut. Qhov shortcut rau feem ntau browsers ntawm Mac yog Alt + Command + I, rau Windows koj tuaj yeem siv Ctrl + Ua haujlwm + Kuv.

Kuv yuav ua li cas thiaj li kaw qhov Tshawb Xyuas Element hauv Chrome?

Nkaum cov ntsiab lus hauv Chrome, Firefox thiab Edge ib ntus

  1. Thaum nyob rau nplooj ntawv, coj mus rhaub rau ntawm F12 tus yuam sij qhib qhov browser's Developer Tools.
  2. Siv Tus Kws Tshuaj Ntsuam Xyuas kom pom ib yam khoom ntawm nplooj ntawv uas koj xav tshem tawm ntawm nws.
  3. Kho txoj hauj lwm hauv cov cai yog tias tsim nyog.

Pom zoo: